Name, Role, Value
Name, Role, Value is a web accessibility requirement that ensures the interactive parts of a webpage, such as buttons, links, and form fields, can be understood by assistive technologies like screen readers. It means each control should have a name that identifies it, a role that explains what it is, and a value or state that communicates its current condition. When this information is properly provided, people who use assistive technologies can perceive, understand, and operate the controls.
Name, Role, Value (WCAG Success Criterion 4.1.2, a Level A criterion) requires that for all user interface components, including form elements, links, and scripted components, the name and role can be programmatically determined; that states, properties, and values that can be set by the user can be programmatically set; and that notification of changes to these items is available to user agents, including assistive technologies. The name may be visible or invisible. For standard HTML controls used according to specification, these requirements are generally satisfied by using semantic markup; custom or scripted components may require ARIA attributes to expose accessible name, role, and state/value information to the accessibility API. Conformance with this criterion supports, but does not by itself guarantee, an accessible experience, and both automated and manual testing with assistive technologies are generally needed to verify it.
Why it matters
Name, Role, Value sits at the heart of how assistive technologies interpret interactive content. When a control such as a button, link, or form field exposes a programmatically determinable name, role, and current state or value, a screen reader user can understand what the control is, what it does, and its present condition. When that information is missing or incorrect, the same control may be announced as an unlabeled or generic element, leaving the user unable to perceive its purpose or operate it reliably. Because this is a Level A success criterion in WCAG, it represents a foundational rather than an advanced requirement.
Who it's relevant to
Inside Name, Role, Value
Common questions
Answers to the questions practitioners most commonly ask about Name, Role, Value.