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(wizard): AT reads correct step number in account setup #1257

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

amy-corson-ibigroup
Copy link
Contributor

Description:

Fixes a bug with Safari + Voiceover that was causing Voiceover to inconsistently read the incorrect step or title name when the step was changed. Eg. The user would be on step 3 of 4 but VO would announce it as step 2 of 4.

My best guess based on this thread is that safari was firing its nameChange/DescriptionChange event after passing the information to the screenreader in some cases. Putting focusHeader inside ComponentDidUpdate should hopefully consistently focus the header after the browser has fully fired all events.

PR Checklist:

  • Does the code follow accessibility standards (WCAG 2.1 AA Compliant)?
  • Are all languages supported (Internationalization/Localization)?
  • Are appropriate Typescript types implemented?

Copy link
Collaborator

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

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

Nice fix!

@amy-corson-ibigroup
Copy link
Contributor Author

@josh-willis-arcadis @binh-dam-ibigroup if this is looking okay after Josh reviews, if you guys wouldn't mind merging while I'm out next week, that would be amazing!

Copy link
Contributor

@josh-willis-arcadis josh-willis-arcadis left a comment

Choose a reason for hiding this comment

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

lgtm!

@josh-willis-arcadis josh-willis-arcadis merged commit efd860f into dev Aug 19, 2024
9 checks passed
@josh-willis-arcadis josh-willis-arcadis deleted the fix-step-announcement-bug branch August 19, 2024 16:49
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.

3 participants