Skip to content
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

Presets Panel: Missing Accessible Name from Icon Buttons #5453

Open
derekjackson-das opened this issue Jan 24, 2025 · 0 comments
Open

Presets Panel: Missing Accessible Name from Icon Buttons #5453

derekjackson-das opened this issue Jan 24, 2025 · 0 comments
Labels
a11y Accessibility

Comments

@derekjackson-das
Copy link
Collaborator

derekjackson-das commented Jan 24, 2025

Issue Description

The icon buttons in the presets menu do not have accessible names, so there is no programmatic way to identify each button or distinguish one from the other.

Related to:

Derived from #5187 .

WCAG Criteria

3.3.2 Labels or Instructions - A

Notes

Use aria-label to give the buttons a unique, descriptive accessible name. For example, aria-label="Delete Preset". Also, hide the SVG image to avoid unnecessary or redundant announcements with the aria-hidden="true" attribute.

Screenshot or Screen Recording

Image

Relevant Code

<button class="m-0 h-full rounded-md bg-transparent p-2 text-gray-400 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200">
@derekjackson-das derekjackson-das added the a11y Accessibility label Jan 24, 2025
@derekjackson-das derekjackson-das changed the title Missing Accessible Name from Icon Buttons in the Presets Panel Presets Panel: Missing Accessible Name from Icon Buttons Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Accessibility
Projects
None yet
Development

No branches or pull requests

1 participant