WCAG 4.1.2 Level A Robust

4.1.2 Name, Role, Value

For all UI components, the name, role, state and value are programmatically available.

What 4.1.2 Name, Role, Value means

Assistive tech can identify and operate custom widgets correctly.

How to test

Inspect custom components with an accessibility inspector for correct role, name and state.

How to meet it

Use native elements or correct ARIA roles/states/properties and keep them updated in JS.

Need help meeting 4.1.2?

Our IAAP-certified team audits your website and apps against every WCAG 2.2 criterion and delivers code-level remediation.

Request an Audit

Official reference: Understanding 4.1.2 Name, Role, Value (W3C)