Can we count your visit?

Our analytics service records the pages you view, so we can see which ones are useful. It saves a random ID in your browser, and we never use it for advertising. Read our privacy policy.

Name, role, value

The WCAG rule that every control tells assistive technology what it is called, what it is, and its current state.

Also called
name role value

Name, role, value is WCAG success criterion 4.1.2, at Level A. Every control must expose its name (“Search”), its role (button, checkbox, tab), and its state or value (checked, expanded, 3 of 5) to assistive technology, which must also be told when these change.

Native HTML controls do this on their own. Custom controls built from div elements usually don't, so a screen reader announces a clickable “group” with no name, or a toggle that never says whether it is on. Using the native element fixes most cases. Where a custom control is necessary, ARIA roles and states fill the gap.

Source

World Wide Web Consortium (W3C), 2024. Checked .

Get help with every step.

We can work with organizations of every size and industry, from a startup serving its first customers to a bank. We find where you stand, help your team fix what matters, and keep checking as your product changes. That work is evidence of your effort, not a legal guarantee.