Why it matters
Items like tab or menuitem only make sense inside their container role.
How to fix it
Wrap them in the required parent role.
References
More accessibility rules
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.
listitem<li> is not inside a listaria-allowed-attrARIA attribute is not allowed on this rolearia-required-attrRequired ARIA attribute is missingaria-required-childrenARIA role is missing required childrenaria-rolesInvalid ARIA rolearia-valid-attrInvalid ARIA attribute namearia-valid-attr-valueInvalid ARIA attribute valuearia-hidden-focusFocusable element inside aria-hidden