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

confusing label for button example #36900

Open
goetsu opened this issue Nov 21, 2024 · 0 comments
Open

confusing label for button example #36900

goetsu opened this issue Nov 21, 2024 · 0 comments
Labels
Content:Accessibility Accessibility docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@goetsu
Copy link

goetsu commented Nov 21, 2024

MDN URL

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded

What specific section or headline is this issue about?

button example

What information was incorrect, unhelpful, or incomplete?

in current example you use aria-expanded on button and label "show widget" and "hide widget" that also indicate a state it is confusing for screenreader user as state is already provided with aria-expanded.

What did you expect to see?

user "widget" as label for the button in the example

Do you have any supporting links, references, or citations?

see https://www.w3.org/WAI/ARIA/apg/patterns/accordion/examples/accordion/ only using aria-expanded to provide state information

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@goetsu goetsu added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Nov 21, 2024
@github-actions github-actions bot added the Content:Accessibility Accessibility docs label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:Accessibility Accessibility docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

1 participant