Skip to content
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

Fix accessibility in carousel #209

Merged
merged 1 commit into from
Jul 8, 2020
Merged

Conversation

henrytao-me
Copy link
Member

@henrytao-me henrytao-me commented Jul 8, 2020

Cherry-pick cds-snc/covid-alert-app#496 and https://github.com/cds-snc/covid-shield-mobile/pull/392/files

It also fixes auto focus accessibility in Text component

Expected result:

Accessibility is scoped to page, not screen. That means when accessibility is on, user cannot swipe to next screen. They need to press next button.

@henrytao-me
Copy link
Member Author

henrytao-me commented Jul 8, 2020

Considering this is a cherry-pick in downstream repo. I will merge it for now and fix forward if necessary.

@henrytao-me henrytao-me merged commit fb1b65b into master Jul 8, 2020
@henrytao-me henrytao-me deleted the cp/carousel-accessibility branch July 8, 2020 15:36
@svinkle
Copy link
Member

svinkle commented Jul 8, 2020

@henrytao-me This works well. It'd be great if when moving from one page to the next focus would shift to he header. Otherwise the user needs to navigate backward which is awkward. #12 for more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants