[a11y] EuiScreenReaderLive component#5567
Conversation
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_5567/ |
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_5567/ |
1Copenut
left a comment
There was a problem hiding this comment.
👏 LGTM! This is a great PR. Easy to reason about and test.
The only thing I could think to add might be a link to the MDN docs for roles with implicit live regions ( https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Live_Regions#roles_with_implicit_live_region_attributes ) to help devs make informed decisions if they go away from the default role. Maybe not our purview, so use or reject as you feel appropriate.
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_5567/ |
cee-chen
left a comment
There was a problem hiding this comment.
Super appreciate the new documentation tips/resources, I'm sure our devs will as well!!
|
Preview documentation changes for this PR: https://eui.elastic.co/pr_5567/ |
Summary
Adds a new component originally proposed in #5157:
EuiScreenReaderLiveUses a dual
aria-liveregions to allow screen readers to announce content updates in a timely and non-intrusive manner.Checklist