MediumWCAG 2.5.3 · Level AOperable
Visible Label Mismatch in ARIA Name
Identifies custom controls where the visible text string is not included inside the aria-label attribute for speech recognition users.
Rule ID: custom-accessible-name-mismatch · reported under Needs review, because a person should confirm it.
Who this affects
Voice-control users cannot activate a control by saying the text they see on it.
WCAG 2.5.3 Label in Name: read the W3C explanation of Label in Name
How to fix it
Problem
<button aria-label="Submit credit details">Pay Now</button>Fixed
<button aria-label="Pay Now and submit credit details">Pay Now</button>These are short examples. In the extension, A11yEngine points to the element on your own page and can suggest a fix for your code (HTML, React, Vue or Tailwind).
Find this on your own pages
Check any page for this and 100+ other issues in your browser, free.