Start scanning free

( Robust / WCAG 4.1.2 )

Required ARIA attribute is missing

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 element has an ARIA role that requires certain state attributes, and one of those attributes is missing. A role="checkbox" without aria-checked is a common example.

Why it matters

Without the required state, assistive tech can’t tell the user whether the control is checked, expanded, selected, or in any other state the role is meant to convey.

How to fix it

Add the missing attribute and keep it in sync with the control’s actual state.

Before
<div role="checkbox" tabindex="0">Subscribe</div>
After
<div role="checkbox" tabindex="0" aria-checked="false">Subscribe</div>

Learn more