axe-core rule: aria-required-parent
ARIA roles are missing their required parent role
What it is
An element has a role that must live inside a specific parent role (for example role="tab" outside any role="tablist"), so assistive technology cannot place it in a widget structure.
Who it blocks
Screen reader users get fragments of a widget that do not behave as a unit.
How to fix it
Wrap the element in a container with the required parent role.
Example fix
<!-- Before -->
<button role="tab">Reviews</button>
<!-- After -->
<div role="tablist" aria-label="Product information">
<button role="tab" aria-selected="true">Reviews</button>
</div>
This is one of the barrier types BarrierScan checks for on every scan. Request a free accessibility scan to see whether it appears on your site, alongside the rest of the automated findings.