Skip to main content
WCAGA

How to test criterion 4.1.2 “Name, Role, Value — 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.”

WCAG references
  • 4.1.2 Name, Role, Value (A)

What this criterion says

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.

Note

This success criterion is primarily for web authors who develop or script their own user interface components. For example, standard HTML controls already meet this success criterion when used according to specification.

Official methodology to test criterion 4.1.2

Official W3C techniques

The W3C does not publish a test procedure for this criterion. It publishes techniques instead: documented ways to meet it, and the failures that do not.

Sufficient techniques

Common failures