critical WCAG 4.1.2 aria-roles

Valid ARIA Role — WCAG 4.1.2 Fix Guide

Ensures all elements with a role attribute use a valid value.

🔍 Find This Violation on Your Site →

What Is the Valid ARIA Role Violation?

Ensures all elements with a role attribute use a valid value.

WCAG Criterion4.1.2
Impactcritical
axe-core Rule IDaria-roles
WCAG PrincipleRobust

How to Fix Valid ARIA Role

Replace invalid ARIA role values with valid ones from the WAI-ARIA specification. Common mistakes include role="textbox" instead of role="text", or custom roles not in the spec.

Run a free Accessalyze scan to find all instances of this violation on your site, with AI-generated fix code for each specific element.

🔍 Scan Your Site for Valid ARIA Role Violations →

Who Is Affected?

The Valid ARIA Role violation impacts users who rely on assistive technologies including:

Approximately 1 in 4 adults in the United States has some type of disability. Fixing this violation improves access for millions of users.

Find Valid ARIA Role Violations on Your Site

Free scan in 30 seconds. Get the exact elements with this violation plus AI fix code.

🔍 Scan Free — No Signup

Related WCAG Violations