Name, Role, Value (Accessibility API Mapping)

Name, role, and value are three fundamental properties that allow assistive technologies to identify and interact with user interface components. Together, they form the foundation of how elements are communicated through accessibility APIs.

• The name describes what an element is or does, for example, a button labeled “Submit.”
• The role defines the type of element, such as “button,” “link,” or “checkbox.”
• The value represents the current state or data, such as “checked,” “50%,” or “on.”

When developers use semantic HTML or proper ARIA roles, these properties are automatically exposed to assistive technologies like screen readers. Inaccessible components often fail to provide one or more of these attributes, leaving users uncertain about an element’s function or state.

Accessible outcome: Each interactive component has a clear name, defined role, and accurate value so that assistive technologies can convey complete, understandable information to users.