WCAG 4.1.2 Name, Role, Value — Testing Guide for Mobile & Web Apps

WCAG 4.1.2, a Level A success criterion, mandates that all user interface components have a name, role, and value. This means that every interactive element—buttons, form fields, links, checkboxes, ra

February 04, 2026 · 5 min read · WCAG Guides

Mastering WCAG 4.1.2: Name, Role, Value for Accessible Interfaces

WCAG 4.1.2, a Level A success criterion, mandates that all user interface components have a name, role, and value. This means that every interactive element—buttons, form fields, links, checkboxes, radio buttons, sliders, and more—must clearly communicate its purpose and current state to assistive technologies.

What WCAG 4.1.2 Demands

In practical terms, this criterion requires that:

Why This Criterion is Crucial

Failure to meet WCAG 4.1.2 directly impacts users relying on assistive technologies, such as screen readers. Without proper naming, roles, and values, these users cannot understand or effectively interact with your application.

Compliance is not just about meeting a standard; it's about building inclusive products. Regulations like the EU's European Accessibility Act (EAA) and the Americans with Disabilities Act (ADA) in the US mandate accessibility, making WCAG compliance a legal requirement for many organizations.

Common Violations and Examples

Violations of WCAG 4.1.2 are pervasive and can occur in both web and mobile applications.

#### Web Application Examples

  1. Unlabeled Form Fields:

*(Missing )*

  1. Ambiguous Button Labels:

*(Missing aria-label="Search" or descriptive text)*

  1. Incorrect Role for Custom Controls:

#### Mobile Application Examples (Android/iOS)

  1. Unlabeled Icon Buttons:

*(If contentDescription is missing or empty)*

  1. Non-Descriptive Radio Button/Checkbox Labels:

*(If accessibilityLabel is missing or not descriptive)*

  1. Custom Sliders Without Value/Range:

Testing for WCAG 4.1.2 Compliance

A multi-pronged approach ensures comprehensive testing.

#### Manual Testing Steps

  1. Keyboard Navigation: Navigate through the entire application using only the keyboard (Tab, Shift+Tab, Enter, Spacebar, Arrow keys).
  1. Screen Reader Testing: Use a screen reader (VoiceOver on iOS/macOS, TalkBack on Android, NVDA/JAWS on Windows) to interact with your application.
  1. Inspect Element (Web): Use browser developer tools to inspect the HTML structure of interactive elements.

#### Automated Tools

#### Mobile-Specific Considerations

Fixing WCAG 4.1.2 Violations

#### Web Application Fixes

  1. Labeling Form Fields:
  1. Describing Icon Buttons:
  1. Correcting Custom Control Roles:

#### Mobile Application Fixes

  1. Adding Content Descriptions (Android):
  1. Setting Accessibility Labels (iOS):
  1. Exposing Value for Custom Controls:

Test Your App Autonomously

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts.

Try SUSA Free