Start scanning free

( Perceivable / WCAG 1.3.1 )

ARIA element is missing a required parent role

This check maps to Info and Relationships. Use the guidance below to confirm the issue, understand who it affects and ship a fix.

Serious Level A WCAG 1.3.1 — Info and Relationships

What’s wrong

An element with an ARIA child role is not inside the parent role that role requires.

Why it matters

Screen reader users expect ARIA patterns like tab and tablist to stay grouped. If the parent role is missing, keyboard and announcement behavior can break or become inconsistent.

How to fix it

Use semantic HTML and valid ARIA so assistive technology gets the same state and structure as sighted users. Keep labels and states explicit in markup.

Before
<button role="tab" aria-selected="true">Overview</button>
After
<div role="tablist" aria-label="Sections">
  <button role="tab" aria-selected="true">Overview</button>
</div>

If this pattern is generated by a component, fix it once in the shared component so every instance inherits the accessible behavior.

Learn more