Skip to content

Semantics for CupertinoTabBar #19924

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 31, 2018
Merged

Conversation

xster
Copy link
Member

@xster xster commented Jul 27, 2018

Fixes #19921

],
child: new Semantics(
selected: active,
hint: 'tab, ${index + 1} of ${items.length}',
Copy link
Member

@jonahwilliams jonahwilliams Jul 27, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This string would need to be localized, I would leave it out for now

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'd have to do #13452 first

],
child: new Semantics(
selected: active,
hint: 'tab, ${index + 1} of ${items.length}',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about localization? We have a localized string for this in the MaterialLocalizations, not sure if that one can be reused here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't import package material. We'd have to solve #13452 first

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understood. Can you add a TODO here to remind us that this needs localization?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sg, done

@xster xster force-pushed the tabbar-accessibility branch from a83187b to 7d8d673 Compare July 30, 2018 18:30
Copy link
Member

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@goderbauer goderbauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@xster xster force-pushed the tabbar-accessibility branch from 7d8d673 to 7107fad Compare July 30, 2018 22:37
@xster xster merged commit cb03ca1 into flutter:master Jul 31, 2018
@xster xster deleted the tabbar-accessibility branch July 31, 2018 06:38
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CupertinoTabBar accessibility
4 participants