Start scanning free

( Operable / WCAG 2.4.6 )

Label doesn't make sense in context

This check maps to Headings and Labels. Use the guidance below to confirm the issue, understand who it affects and ship a fix.

Moderate Level AA WCAG 2.4.6 — Headings and Labels

What’s wrong

The element has a label but it only makes sense visually — words like “Close”, “Submit”, or “Go” give no context to screen reader users navigating out of sequence.

Why it matters

Screen reader users often navigate by listing all buttons or links on a page. “Close” heard in isolation gives no clue what is being closed.

How to fix it

Add an aria-label that includes the specific context, e.g. aria-label="Close login modal" or aria-label="Submit contact form". The visible text can stay the same.

Before
<button>Close</button>
After
<button aria-label="Close login modal">Close</button>

Learn more