-
Notifications
You must be signed in to change notification settings - Fork 592
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
ActionBar: Make aria-label mandatory #4501
Conversation
🦋 Changeset detectedLatest commit: c3ea83a 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.
Looks good!
One thing we did for UnderlineNav is to add a runtime check for aria-label as well along with TS required notation. We might consider a similar practise here.
I'm wondering if we might want to also add |
@TylerJDev - Like this? react/packages/react/src/Button/types.ts Line 19 in 0a8aff8
I like it! Is it common that |
Yup, exactly!
It may not be as common, but could be the better option if the context for the |
Closes # (Didn't create an issue)
Voiceover announcement was wonky without a mandatory
aria-label
on theActionBar
component.Rollout strategy
Testing & Reviewing
Merge checklist