Items sit outside the container they belong to

Automated check aria-required-parent, run with axe-core

WCAG
1.3.1 Info and Relationships (Level A)
Severity
Serious: completable, but painful
Typical effort
Moderate, 1 to 4 hours
Category
Code quality

Who this affects

Screen reader users.

Why it matters

Items such as menuitem, tab or option only make sense inside their container. On their own they are announced without their position or their relationship to the other items.

How to fix it

Place each item inside an element with the matching container role, for example role="tab" inside role="tablist".

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