Skip to content

SC 2.5.3 Label in name and abbreviated text in dropdown list #4026

Answered by TestPartners
sarasuri asked this question in Q&A
Discussion options

You must be logged in to vote

That would clearly be a non-conformance because the visible label does not match, and is not a substring of, the accessible name. In practical terms, voice recognition software may not respond to commands like "click B C". You could achieve conformance by making the aria-label attributes include the two-letter abbreviations, such as aria-label="British Columbia BC". However, I think it's poor usability, so I would not recommend it unless there is some genuine reason why you can't display the full province name.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by patrickhlauke
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #4023 on August 17, 2024 08:01.