-
Notifications
You must be signed in to change notification settings - Fork 577
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
Select panel: custom screen reader announcements #4968
Conversation
🦋 Changeset detectedLatest commit: 473a5a2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
size-limit report 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, well done!
Update: merged and upgraded 🎉 |
* copy changes from #4927 * fix index to announce * add liveRegion.clear * separate type import * remove hard coded "labels" * don't assume live region exists * bump @primer/live-region-element to 0.7.1 * lint!!!
primer_react_select_panel_with_modern_action_list
)Context
Browser + screen reader combinations have different default announcements. We are trying to fill in the gaps, which leads to great results for some combinations but redundant/verbose results for others. See notes below for more information.
We shy away from browser + OS (proxy for screen reader) detection to optimise these results, in order to avoid accidentally doing more harm than good. We are choosing redundancy/verbosity over missing information.
Rollout strategy
Testing & Reviewing
Voiceover on MacOS + Safari
Notes: Safari has the least amount of automated announcements, so our additions fill in the gaps very nicely.
voiceover-safari-without-custom-announcements.mov
voiceover-safari-with-custom-announcements.mov
Focus on filter text box and list of items, Focused item: enhancement, selected, 1 of 7
Voiceover on MacOS + Chrome
Notes: Chrome has more automated announcements than Safari, so our additions could sometimes be seen as noisy or redundant
voiceover-chrome-without-announcements.mov
voiceover-chrome-with-custom-announcements.mov
Focus on filter text box and list of labels, Focused item: enhancement, selected, 1 of 7
List updated, Focused item: bug, selected, 1 of 3
List updated, Focused item: blocker, not selected, 1 of 1
No matching items.
NVDA on Windows + Edge/Chrome
Notes: NVDA includes more information about the structure, so our additions could sometimes be seen as noisy or redundant. Chrome has the same exact behavior as Edge.
nvda-edge-without-announcements.mov
nvda-edge-with-announcements.mov
Select labels list.
enhancement 1 of 7
Select labels list.
enhancement 1 of 7
Focus on filter text box and list of labels, Focused item: enhancement, selected, 1 of 7
List updated, Focused item: bug, selected, 1 of 3
List updated, Focused item: blocker, not selected, 1 of 1
No matching items.
Merge checklist