aria-roledescription is used on elements without a suitable role

Automated check aria-roledescription, run with axe-core

WCAG
4.1.2 Name, Role, Value (Level A)
Severity
Moderate: a degraded experience
Typical effort
Quick win, under 1 hour
Category
Code quality

Who this affects

Screen reader users.

Why it matters

A custom role description on an element with no meaningful role replaces the announcement with a word that says nothing about how to operate it.

How to fix it

Only use aria-roledescription on elements that have an explicit or native role, or remove it.

Check your own website

The free scan tests 3 pages against WCAG 2.2 A and AA in about 30 seconds. No sign-up.

Scan my website — free

Related checks: Code quality

All checks