confusing label for button example #36900
Labels
Content:Accessibility
Accessibility docs
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
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
en-us/web/accessibility/aria/attributes/aria-expanded
The text was updated successfully, but these errors were encountered: