WCAG 2.0 · Level A · Robust
WCAG 4.1.2 — Name, Role, Value
For all UI components, the name, role, state, and value must be available to assistive technology.
WCAG 4.1.2 at a glance
Level A · Principle: Robust · Added in WCAG 2.0. Level A is the minimum — failing it blocks some users entirely.
What it means
For all UI components, the name, role, state, and value must be available to assistive technology.
Who it helps
Screen-reader and other assistive-technology users.
Common failures
- Custom widgets built from divs with no role or state
- Toggles whose state isn’t exposed
How to meet WCAG 4.1.2
- Use native elements, or correct ARIA roles/states/properties
- Keep ARIA state in sync with the UI
How to test it
Partly automatable; complex widgets need a screen-reader test.