Start scanning free

( Robust / WCAG 4.1.2 )

Interactive element has no accessible name at all

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

Critical Level A WCAG 4.1.2 — Name, Role, Value

What’s wrong

An interactive element, button, link, or form control, has absolutely nothing a screen reader can use as its name: no text content, no alt, no aria-label, no aria-labelledby, no associated <label>.

Why it matters

This is the broadest possible version of a missing-name failure, catching custom or unusual markup that more specific rules don’t target. Whatever the control does, the user has zero way to find out.

How to fix it

Add any one of: visible text, alt on an inner image, aria-label, or a linked <label>, whichever fits the element.

Before
<span role="button" onclick="toggleMenu()"></span>
After
<span role="button" tabindex="0" aria-label="Open menu" onclick="toggleMenu()"></span>

Learn more