-
Notifications
You must be signed in to change notification settings - Fork 599
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(ActionList): use internal AriaStatus to announce updates in example story #5096
Docs(ActionList): use internal AriaStatus to announce updates in example story #5096
Conversation
|
size-limit report 📦
|
import FormControl from '../FormControl' | ||
import {LiveRegion, LiveRegionOutlet, Message} from '../internal/components/LiveRegion' |
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.
In case it's helpful, we have a couple of newer helpers that you can use here, specifically AriaStatus
and AriaAlert
, depending on what you need 👀
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.
Updated to AriaStatus
, thanks!!
…gion, async story
Co-authored-by: Josh Black <[email protected]>
…announced-by-screen-readers
Closes https://github.com/github/primer/issues/3474
Adds more descriptive status messages for when results are loading/complete in ActionList's async loading story and replaces custom
aria-live
implementation for internalAriaStatus
usage for improved accessibility.Screen.Recording.2024-10-09.at.3.22.56.PM.mov
Changelog
New
Changed
AriaStatus
instead of custom<div role="status"...
to announce a11y updates in ActionList's Async with Spinner story.Rollout strategy
Storybook only update
Testing & Reviewing
Test keyboard/screenreader functionality in deployment story and verify loading/results/no results messages get announce by screen reader.
Merge checklist