Understanding Success Criterion 4.1.2: Name, Role, Value

Understanding Success Criterion 4.1.2 Name, Role, Value

The interactive elements in each web page should clearly communicate their names, role and values programmatically. This ensures that Assistive Technologies (AT) can gather information, activate or deactivate and update the status of the interactive element to the user. 

Official Requirements

Success Criterion 4.1.2 Name, Role, Value (Level A): For all user interface components (including but not limited to: form elements, links and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.

Why is it required?

When websites use native HTML elements, the AT is able to determine name, role and value by default. However, in the case of custom widgets that is not the case and will cause problems to people using AT to access the website.

How do we fix it?

  • Ensure that all interactive elements have name, role and values that can be programmatically determined.
  • Avoid using custom widgets and use native HTML elements wherever possible.
  • Make sure that custom widgets can be accessed by AT including keyboards.

Mistakes to avoid

  • Using div or span for user interface control but not defining its role or function.
  • Custom controls don’t support accessibility API.
  • User interface control not having a programmatically defined name.
  • A Multi-part form field are not having a programmatically defined name for each part.

Reference

Understanding Success Criterion 4.1.2: Name, Role, Value

Picture of Aditya Bikkani

Aditya Bikkani

Aditya is the COO of AELData, a growing technology company in the Digital Publishing and Education sectors. He is also an entrepreneur and founder of an accessibility tool called LERA. A W3C COGA (Cognitive and Learning Disabilities Accessibility) Community Member Aditya contributes to researching methodologies to improve web accessibility and usability for people with cognitive and learning disabilities.

Leave a Reply

Your email address will not be published. Required fields are marked *

Share on Social Media

Facebook
Twitter
LinkedIn
Email
Pinterest
Reddit
WhatsApp

Related Blogs

ADA Demand Letters

A Brief Guide to ADA Demand Letters

Demand letters related to website accessibility have become so common that many law firms are offering courses to help understand and respond to them. ADA

How Accessible Is Your Website?

Check your site’s accessibility in few seconds with our FREE accessibility checker. Ensure compliance with ADA & WCAG guidelines and improve user experience across the board.

Skip to content