Skip to content

Conversation

Mash707
Copy link
Contributor

@Mash707 Mash707 commented Feb 26, 2025

Closes #11391

@Mash707
Copy link
Contributor Author

Mash707 commented Feb 26, 2025

Hi @thatblindgeye Have a look, let me know of any improvements.
Thank You!

@patternfly-build
Copy link
Contributor

patternfly-build commented Feb 26, 2025

@Mash707 Mash707 force-pushed the removing-aria-from-datalist branch from 688a12d to a690019 Compare February 27, 2025 18:55
@Mash707 Mash707 force-pushed the removing-aria-from-datalist branch from a690019 to b7825c9 Compare February 27, 2025 19:20
@Mash707 Mash707 changed the title Removing aria labelling and aria-selected from li elements Refactor(DataList): removed aria-labelledby and aria-selected Feb 27, 2025
Copy link
Contributor

@thatblindgeye thatblindgeye left a 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?

@Mash707
Copy link
Contributor Author

Mash707 commented Mar 3, 2025

I have updated the prop description.

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?

Sure I'll open a followup issue for this.

@thatblindgeye thatblindgeye merged commit 6bb9f35 into patternfly:main Mar 4, 2025
13 checks passed
@patternfly-build
Copy link
Contributor

Your changes have been released in:

Thanks for your contribution! 🎉

@Mash707 Mash707 deleted the removing-aria-from-datalist branch March 6, 2025 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DataList - aria labeling and aria-selected should be removed from li elements

4 participants