WCAG 4.1.2: Name, role, value
In European law this criterion is EN 301 549 clause 9.4.1.2 — chapter 9, the part of the harmonised standard that applies to websites under the European Accessibility Act.
How to test by hand
Automated checks find only some failures of this criterion. These steps cover the rest.
You need
- Screen reader (NVDA, JAWS, VoiceOver or TalkBack)
- Keyboard only
- Browser developer tools
- Screen reader preview
- Free website scan (first pass only)
Steps
- Turn on a screen reader and press Tab through every link, button, form field and custom widget. Check each one announces a name and a role (link, button, checkbox, tab).
- For anything clickable built from a div or span (custom buttons, toggles, comboboxes, disclosure widgets), inspect it in the developer tools accessibility pane and check it has a role.
- Check icon-only buttons and links that contain only an image: the screen reader, the accessibility pane or a screen-reader preview of the HTML should show a non-empty name.
- Operate each control: tick checkboxes, select radio buttons, expand and collapse accordions or menus. Check the screen reader announces the new state, such as checked or expanded.
- For inputs split into several boxes (such as a phone number), check every box announces its own name, not just the first one.
- Passes when
- Every interactive component is announced with a name and correct role, and its current state or value is announced and updates when you change it.
- Fails when
- A control is announced without a name (for example just "button"), with no or the wrong role, or its state does not change in the announcement after you operate it.
Note: W3C notes that standard HTML controls used according to specification already meet this criterion; problems arise mainly with custom or scripted controls.
Steps are based on W3C’s Understanding WCAG 2.2: 4.1.2 Name, role, value, which explains the intent, examples and exceptions in full. A manual check by you is a first look, not an audit: it does not make a site conformant and is not a substitute for testing by an experienced auditor with real assistive technology users. How we separate what a machine can and cannot check is explained in our methodology; for a full audit, see the directory of accessibility agencies.
What automation checks
29 axe-core rules test failures of this criterion. Our scanner runs them on every page it visits:
area-altaria-allowed-attraria-braille-equivalentaria-command-namearia-conditional-attraria-deprecated-rolearia-hidden-bodyaria-hidden-focusaria-input-field-namearia-prohibited-attraria-required-attraria-roledescriptionaria-rolesaria-tab-namearia-toggle-field-namearia-tooltip-namearia-valid-attr-valuearia-valid-attrbutton-nameduplicate-id-ariaframe-title-uniqueframe-titleinput-button-nameinput-image-altlabellink-namenested-interactiveselect-namesummary-name
What automation cannot prove
An automated test finds some failures of WCAG 4.1.2; it cannot confirm the criterion is met. Whether the result actually works for people — in context, with real content — is a judgement call that needs a human auditor. Nothing on this page is a statement of conformance or legal advice. The full map of what our scanner covers and where it stops is on what our scanner checks.
Related guides
- Audyt WCAG i deklaracja dostępności: przewodnik
- EN 301 549: the European accessibility standard explained
- accessiBe Alternatives: What Replaces Each Part of It
- Accessibility Overlays vs. Real WCAG Audits: What Actually Delivers Compliance
- ARIA Labels Explained: aria-label vs aria-labelledby vs aria-describedby
- How to Write Alt Text: A Practical Guide (WCAG 1.1.1)
- WCAG accessibility audit: process, deliverables and how to choose a vendor
- WCAG conformance levels: A, AA and AAA — which one actually applies to you
Does your site pass these checks?
Free instant scan. No signup required. WCAG 4.1.2 is one of the criteria it tests.
Scan website