-
Notifications
You must be signed in to change notification settings - Fork 370
Refactor(DataList): removed aria-labelledby and aria-selected #11569
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
Refactor(DataList): removed aria-labelledby and aria-selected #11569
Conversation
Hi @thatblindgeye Have a look, let me know of any improvements. |
Preview: https://patternfly-react-pr-11569.surge.sh A11y report: https://patternfly-react-pr-11569-a11y.surge.sh |
688a12d
to
a690019
Compare
a690019
to
b7825c9
Compare
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.
Since we're removing the aria-labelledby on the list item, we should update the prop description for aria-labelledby
to something more fitting to it's purpose, maybe something like, "Adds an accessible name to the selectable input if one is rendered."
We should open a followup issue to rename this prop to selectableInputAriaLabelledby in a breaking change as well. Would you want to open a followup for this?
I have updated the prop description.
Sure I'll open a followup issue for this. |
Your changes have been released in:
Thanks for your contribution! 🎉 |
Closes #11391