Skip to content

chore(descriptionList): add unique aria-labels to examples and demos - #7706

Merged
rebeccaalpert merged 5 commits into
patternfly:mainfrom
rebeccaalpert:issue-7277
Aug 5, 2025
Merged

rebeccaalpert merged 5 commits into
patternfly:mainfrom
rebeccaalpert:issue-7277

Conversation

@rebeccaalpert

Copy link
Copy Markdown
Member

Manually added ability to have aria-label. Manually added to demos and checked with VO. For examples, added 1 manually and checked with VO. Then tried using Cursor to generate additional aria-labels based on example title. Manually reviewed Cursor suggestions.

Assisted-by: Cursor (used to generate aria-labels for all but 1 example based on title)

Assisted-by: Cursor (used to generate aria-labels for all but 1 example based on title)
@patternfly-build

patternfly-build commented Jul 30, 2025 •

Copy link
Copy Markdown
Collaborator

@srambach srambach left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Those are some crazy example names 😆

@mcoker mcoker left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple o' comments, but what you have totally works, too!

Comment thread src/patternfly/components/DescriptionList/description-list.hbs Outdated
Comment thread src/patternfly/components/DescriptionList/examples/DescriptionList.md Outdated

@thatblindgeye thatblindgeye left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's some other files we'll also need to update where a DescriptionList is being used:

  • the Card md demo file
  • card-template-details handlebars
  • card-template-events handlebars
  • the Tabs md demo file

I think most of the aria-labels for the current files updates are fine, a nit might be some might be a bit lengthy, but that's sort of the nature of the example naming. I'd be fine with them as-is unless we could quickly tweak the naming - not a blocker, though.

@rebeccaalpert

Copy link
Copy Markdown
Member Author

Should be all set now @mcoker and @thatblindgeye!

@rebeccaalpert
rebeccaalpert merged commit 2acea33 into patternfly:main Aug 5, 2025
@patternfly-build

Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 6.3.0-prerelease.48 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DescriptionList - lists should have unique aria-labels

5 participants