1. Home
  2. :
  3. WCAG Guidelines
  4. :
  5. 4.1.2 Name, Role, Value –...

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.

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.

Understanding Success Criterion 4.1.2: Name, Role, Value

Warning!
Not all components are represented here yet.

Checklist – System Foundations

Coding Standards

TestPriorityAutomated test?
Do all components that need ARIA roles have them?HighNone

Checklist – Components

Accordions

TestPriorityAutomated test?
Do the accordions identify both their roles and their states?HighNone

Alerts and Messaging

TestPriorityAutomated test?
Do all components that identify state have the proper aria states?HighNone

Breadcrumbs

TestPriorityAutomated test?
Is the breadcrumb wrapped in a <nav> element with an aria-label attribute?HighNone
If the current page is a link, is it marked with aria-current=”page”?HighNone

Dialogs

TestPriorityAutomated test?
Is the dialog associated with the control that opens it?HighNone

Global Header

TestPriorityAutomated test?
Do the navigational menus include the correct aria-attribributes, tabindex, aria-expanded, and aria-selectedHighNone

Tabsets

TestPriorityAutomated test?
Do the tabs identify both their roles and their states?HighNone

Checklist – Special Testing Scenarios

Voice Navigation

TestPriorityAutomated test?
Can I identify the name of every actionable element?HighNone