Need clarification on Success Criterion 2.5.3: Label in Name #2731
-
Hi WCAG Community, I have a question related to '2.5.3: Label in Name'. In the example(Please look into the screenshot) Here the 'People can unmute themselves' text is not a part of an accessible name. I think it's fine since 'Mute All' text is more relevant here and by saying this text, speech input user can activate the control. So my question is:
As per WCAG: |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Pass becauce name is "Mute all", description is "People can..." See also #2276 |
Beta Was this translation helpful? Give feedback.
-
Agree, the apparent label here is just "Mute all" (reasonably, a voice user would likely not try to activate that button by reading out all the lengthy text there either). I would be concerned though that the additional description there is not exposed in any other way to screen reader users, as it's overridden by the short |
Beta Was this translation helpful? Give feedback.
-
Please use aria-describedby to refer from the button to the description "People can..." |
Beta Was this translation helpful? Give feedback.
-
Thank you!! I am closing the issue. |
Beta Was this translation helpful? Give feedback.
-
(retrospectively turned this into a discussion, rather than an issue, as it's asking a question/clarification of how to apply an SC, rather than an issue with the SC itself) |
Beta Was this translation helpful? Give feedback.
Agree, the apparent label here is just "Mute all" (reasonably, a voice user would likely not try to activate that button by reading out all the lengthy text there either).
I would be concerned though that the additional description there is not exposed in any other way to screen reader users, as it's overridden by the short
aria-label
? that'd be something to consider under 1.3.1 Info and Relationships or similar...