Skip to content

Rule · Accessibility

ARIA role is missing required children

a11y/aria-required-childrenerrorvoid a11yupdated

Why it matters

Composite widgets (list, menu, tablist) need their owned roles to work.

How to fix it

Add the required child roles or use native elements.

References

void a11y reports 48 rules in this category. WCAG 2.2 AA through axe-core, plus checks axe can't do alone: visible keyboard focus, 24/44px target size on mobile, 320px reflow and disabled zoom.