-
Notifications
You must be signed in to change notification settings - Fork 221
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: Add new examples of new AriaLiveRegion component #2672
docs: Add new examples of new AriaLiveRegion component #2672
Conversation
Making smaller components for MyTasksLiveBadge and NotificationsBadge.
Focus more on the live badges of the icon buttons. GlobalHeader is just a distraction.
On the 2 different versions of live badges.
Also removed the icon buttons with live badges from the storybook.
|
||
return ( | ||
<> | ||
<Flex padding={space.s} gap={space.s} as="header"> |
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.
I was researching 3 different ways to build an icon button using Badges and live regions. I wasn't completely satisfied with any of my results, if I am honest. I didn't exactly want to throw the research away, but I didn't want to necessarily include the example in Storybook until I had something I was happy with.
Passing run #7160 ↗︎
Details:
Review all test suite changes for PR #2672 ↗︎ |
modules/react/_examples/stories/examples/common/FilterListWithLiveStatus.tsx
Outdated
Show resolved
Hide resolved
modules/react/_examples/stories/examples/common/FilterListWithLiveStatus.tsx
Outdated
Show resolved
Hide resolved
modules/react/_examples/stories/examples/common/FilterListWithLiveStatus.tsx
Outdated
Show resolved
Hide resolved
modules/react/_examples/stories/examples/common/FilterListWithLiveStatus.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Raisa Primerova <[email protected]>
Co-authored-by: Raisa Primerova <[email protected]>
Co-authored-by: Raisa Primerova <[email protected]>
Summary
With the release of the new
AriaLiveRegion
component, I wanted to build a few simple examples to introduce to developers what an ARIA live region is, and how they can be used to positively impact the accessible experience with screen readers.Release Category
Documentation
Checklist
ready for review
has been added to PRFor the Reviewer
Where Should the Reviewer Start?
For now, I have created an
AriaLiveRegion
category in the Examples section of Storybook. I have 4 examples: A visible live region, a hidden live region, a filterable list with a live status, and an input field with a live inline error.Areas for Feedback? (optional)