4.1.2 Name, Role, Value

WCAG 2.2 · Level A · Robust · 4.1 Compatible

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.

This is W3C-provided descriptive material, not a substitute for the normative success criterion.

Read normative WCAG 2.2 criterion · Read W3C Understanding

Understanding WCAG: In Brief

W3C informative text, not a normative requirement.

Goal
People using assistive technology understand all components.
What to do
Give components appropriate names, roles, states, and values.
Why it is important
Assistive technology only works well when code is done properly.

Related ARRM tasks (3)

ARRM tasks are advisory responsibility mappings, not additional WCAG requirements.

  1. SEM-028: iFrames are given a title that describes their content or purpose.
  2. SEM-029: iFrames are implemented using title attribute values that describe their content or purpose.
  3. ANM-037: Information conveyed by multimedia player controls are programmatically announced through assistive technologies.

Compare roles

Compare recorded responsibilities for this criterion