Can we count your visit?

Our analytics service records the pages you view, so we can see which ones are useful. It saves a random ID in your browser, and we never use it for advertising. Read our privacy policy.

Label in name

The WCAG rule that a control's accessible name includes the words shown on it, so voice control can find it.

Label in name is WCAG success criterion 2.5.3, added at Level A in WCAG 2.1. When a button, link, or field shows text as its label, its accessible name must contain that same text. W3C's guidance adds that the name works best when it starts with the visible words.

People who use voice control say what they see: “Click Send.” If the button reads “Send” but its code names it “Submit message form”, the command finds nothing. The same mismatch confuses people who look at the screen while a screen reader speaks. It usually comes from an aria-label written separately from the visible text.

Source

World Wide Web Consortium (W3C), 2024. Checked .

Get help with every step.

We can work with organizations of every size and industry, from a startup serving its first customers to a bank. We find where you stand, help your team fix what matters, and keep checking as your product changes. That work is evidence of your effort, not a legal guarantee.