Accessibility rule: Visible label and accessible name do not match, explained
Summary
This rule ensures that the text users see on screen is also reflected in the programmatic name used by assistive technologies. When these labels differ, users may be unable to reliably identify or activate interface elements, especially when using voice or assistive input methods.
Overview
Speech input, which is also known as speech-to-text or automatic speech recognition and dictation allows users to interact with a website, using voice commands.
This check ensures that the visible label of elements, such as a button name or a link text, matches the HTML label of the element, which is used by the speech recognition software to activate the element.
In practice, a user might say ‘click search’ to activate a search button. But if the accessible name does not contain the word ‘search', the button will not activate.
For this reason, The Success Criterion 2.5.3 Label In Name requires very strictly, that the visible label is included in the accessible name, in full.
What this Rule Means
The visible label presented to users must be included in the accessible name that assistive technologies rely on.
If the accessible name differs from the visible label, interaction methods like voice commands may fail because the expected wording does not match the programmed name.
Why This Matters (Impact)
Who is impacted by this barrier?
Speech communication can help people who cannot use their eyes or arms.
But as voice assistants, such as Apple’s Siri, Amazon’s Alexa or Microsoft’s Cortana have rapidly gained popularity, ensuring that your website works for speech input has even broader implications.
Sighted screen reader users, such as people with dyslexia also benefit from consistent labeling.
It can be confusing if the visible labels and the name a screen reader announces do not match.
How the Check Works
How does the check work?
In practice, the check is looking that visible labels are included in the accessible names, for all the widgets that can be labeled.
Additional Information
Did you find it helpful? Yes No
Send feedback