-
Notifications
You must be signed in to change notification settings - Fork 861
[a11y] EuiScreenReaderLive component
#5567
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
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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