Accessibility · Names and labels

Name does not match visible label

A button on this page shows the word Send, but its aria-label says Submit form, so voice control users saying "click Send" may not reach it.

How this page is built

The button below shows the word Send. Its aria-label is "Submit form", which replaces the visible text as its name.

Why it matters

Voice control users activate controls by saying what they see. If the accessible name does not contain the visible label, saying “click Send” may not work. WCAG 2.5.3 requires the name to include the visible text.

Accessibility problems matter for search too. Search engines read the same code that screen readers read. Many crawl tools now run accessibility checks next to their SEO checks. A page that works for everyone is easier to use, and people stay on it for longer.

How to check it

Run an automated checker such as axe DevTools, Lighthouse or WAVE, or a crawler with accessibility checks, on this page. axe reports this under the rule label-content-name-mismatch.

How to fix it

Remove the aria-label, or make it start with the visible text, such as “Send form”.

Back to all tests