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

docs(ui-buttons): button text changes now announced by screenreaders #1757

Conversation

ToMESSKa
Copy link
Contributor

@ToMESSKa ToMESSKa commented Oct 30, 2024

Closes:
INSTUI-4290
INSTUI-4312
INSTUI-4295

ISSUE: button text changes in Transition and ToggleDetail examples are not announced by screenreaders

TEST PLAN:

  • In NVDA, the button text changes should be announced by the screenreader in the Transition page examples
  • In NVDA, the button text changes should be announced by the screenreader in the second example on the ToggleDetails page

NOTE: unfortuntely putting the aria-live="polite" tag will cause VoiceOver announcing the button text twice. This is a known bug: https://stackoverflow.com/questions/61244988/aria-live-content-read-twice-by-mac-chrome-voiceover After talking about it with Matyi, we concluded it's still better for VoiceOver to read twice and NVDA reading it once than NVDA not reading it at all.

@ToMESSKa ToMESSKa self-assigned this Oct 30, 2024
Copy link

github-actions bot commented Oct 30, 2024

PR Preview Action v1.4.8
Preview removed because the pull request was closed.
2024-11-22 10:12 UTC

… examples to make screenreaders announce button text changes

Closes: INSTUI-4290, INSTUI-4312, INSTUI-4295
@ToMESSKa ToMESSKa force-pushed the INSTUI-4290_transition_example_does_not_announce_change_button_text_change_in_screenreader branch from 1d5a93c to 7ae2794 Compare November 19, 2024 15:01
@ToMESSKa ToMESSKa changed the title fix(ui-buttons): button text changes now announced by screenreaders docs(ui-buttons): button text changes now announced by screenreaders Nov 19, 2024
@ToMESSKa ToMESSKa marked this pull request as ready for review November 20, 2024 08:49
@ToMESSKa ToMESSKa merged commit 3180a02 into master Nov 22, 2024
11 checks passed
@ToMESSKa ToMESSKa deleted the INSTUI-4290_transition_example_does_not_announce_change_button_text_change_in_screenreader branch November 22, 2024 10:12
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