-
Notifications
You must be signed in to change notification settings - Fork 224
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
Fix: Update prop names to match aria labels #551
Fix: Update prop names to match aria labels #551
Conversation
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
So some of my findings: |
Prop used for aria attributes and other props Question Example: The same goes for Exposing Aria attributes for customization In Proposal: |
@mannycarrera4 Thanks for pulling together your proposal. I'm a bit confused by
vs.
Are these not two different approaches to the same case? |
@anicholls I was looking at two different use cases and was a little confused, mostly around the example of |
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.
This is looking good 👍 Just a few minor thoughts
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.
@mannycarrera4 Can you document the breaking changes in the PR description before merging?
Co-Authored-By: Nicholas Boll <nicholas.boll@gmail.com>
Summary
Fixes: #526
Changes:
DrawerHeader
The following props where renamed for appropriate aria naming and clarity •
closeIconLabel
->closeIconAriaLabel
SearchBar
The following props where renamed for appropriate aria naming and clarity
submitLabel
->submitAriaLabel
openButtonLabel
->openButtonAriaLabel
closeButtonLabel
->closeButtonAriaLabel
Menu
The following props where renamed for appropriate aria naming and clarity
labeledBy
->'aria-labelledby'
Popup
The following props where renamed for appropriate aria naming and clarity
closeLabel
->closeButtonAriaLabel
The property
title
was removed since we already had anaria-label
attached to the close buttonSidePanel
The following props where renamed for appropriate aria naming and clarity
closeNavigationLabel
->closeNavigationAriaLabel
openNavigationLabel
->openNavigationAriaLabel
Skeleton
The following props where renamed for appropriate aria naming and clarity
loadingLabel
->'aria-label