Skip to content

chore(hint): update kebab toggle aria labels - #7715

Merged
thatblindgeye merged 2 commits into
patternfly:mainfrom
Mash707:hint-update-kebab-toggle-aria-labels
Aug 13, 2025
Merged

thatblindgeye merged 2 commits into
patternfly:mainfrom
Mash707:hint-update-kebab-toggle-aria-labels

Conversation

@Mash707

@Mash707 Mash707 commented Aug 1, 2025

Copy link
Copy Markdown
Contributor

Fixes: #7283

@patternfly-build

patternfly-build commented Aug 1, 2025 •

Copy link
Copy Markdown
Collaborator

@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.

Just some quick suggestions below - we don't really need to include the words "kebab toggle" here, instead replacing that with "actions". The semantic role and state of the button should provide the context that it's a toggle (and kebab really only describes the icon, though depending on the context/user that could also be a good identifier as kebab may == "actions menu").

menu-toggle--HasKebab=true
menu-toggle--id=(dasherize hint--id 'hint')
menu-toggle--aria-label='Hint menu toggle'
menu-toggle--aria-label='Hint with title example kebab toggle'

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.

Suggested change
menu-toggle--aria-label='Hint with title example kebab toggle'
menu-toggle--aria-label='Hint with title example actions'

menu-toggle--HasKebab=true
menu-toggle--id=(dasherize hint--id 'hint')
menu-toggle--aria-label='Hint menu toggle'
menu-toggle--aria-label='Hint with title example kebab toggle'

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.

Suggested change
menu-toggle--aria-label='Hint with title example kebab toggle'
menu-toggle--aria-label='Hint with title and footer example actions'

menu-toggle--HasKebab=true
menu-toggle--id=(dasherize hint--id 'hint')
menu-toggle--aria-label='Hint menu toggle'
menu-toggle--aria-label='Hint without title example kebab toggle'

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.

Suggested change
menu-toggle--aria-label='Hint without title example kebab toggle'
menu-toggle--aria-label='Hint without title example actions'

@Mash707
Mash707 requested a review from thatblindgeye August 13, 2025 18:11
@thatblindgeye
thatblindgeye merged commit 020e80d into patternfly:main Aug 13, 2025
@Mash707
Mash707 deleted the hint-update-kebab-toggle-aria-labels branch August 13, 2025 19:51
@patternfly-build

Copy link
Copy Markdown
Collaborator

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

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.

Hint - kebab toggles should have unique accessible name in examples

3 participants