ARIA child roles must sit inside their required parent role
Roles such as option, tab, menuitem, row and listitem only have meaning inside a specific parent role. Placed anywhere else, assistive technology cannot tell what group they belong to or how to operate them.
| Rule ID | aria-required-parent |
|---|---|
| Impact | Critical |
| Success criterion | 1.3.1 Info and Relationships · A |
| Standards | WCAG 2.0 · WCAG 2.1 · WCAG 2.2 · Section 508 · EN 301 549 |
| Fixed automatically |
Example
<div class="filters">
<div role="option" aria-selected="true">In stock</div>
<div role="option" aria-selected="false">On sale</div>
</div>Screen readers may skip the options or read them as loose text with no list and no count.
<div class="filters" role="listbox" aria-label="Filter products">
<div role="option" aria-selected="true">In stock</div>
<div role="option" aria-selected="false">On sale</div>
</div>A screen reader announces “Filter products, list box, In stock, selected, 1 of 2”.
Why it matters
A tab, an option or a menu item is a part of a larger widget. Screen readers build their announcement from that relationship: “tab 2 of 4”, “option, selected, 1 of 3”. Without the parent role, the item is an orphan. Some screen readers ignore its role, others read it as plain text, and the arrow-key behaviour users expect is gone.
This affects blind and low-vision users who navigate by role, and voice control users who say “click tab Reviews”. It often happens when a component library is used partially, or when a developer copies only the inner markup of a widget. Because the visual layout still works, the bug hides until someone tests with a screen reader. It fails WCAG 1.3.1, since the relationship shown visually is missing from the code.
How to fix it
Give the nearest meaningful ancestor the role the child needs, or remove the child role if the item is not really part of a widget.
| Child | Required parent |
|---|---|
option |
listbox or group inside it |
tab |
tablist |
menuitem, menuitemcheckbox, menuitemradio |
menu, menubar or group |
treeitem |
tree or group |
row |
grid, table, treegrid or rowgroup |
cell, gridcell, columnheader |
row |
listitem |
list or directory |
Elements in between. Wrappers without a role are fine. A wrapper with its own role breaks the chain, so set role="none" on it:
<div role="tablist" aria-label="Order">
<section role="none">
<button role="tab" aria-selected="true">Items</button>
</section>
</div>
Parent elsewhere in the DOM. Reference the child from the parent with aria-owns.
Not a widget. If the “options” are just links or text, remove the role and use plain HTML.
Checklist
- Wrap every option, tab, menu item, row and tree item in its parent role.
- Set role="none" on wrappers with their own role between child and parent.
- Use aria-owns when the parent lives elsewhere in the DOM.
- Drop widget roles from items that are not part of a widget.
How the check works
The check looks at every element with an explicit role that requires a specific parent. It walks up the accessibility tree, through elements without a role and through aria-owns relationships, until it reaches an element with a role. It passes when that role is one of the required parents. It fails when it finds another role first, or no suitable parent at all. List items and tree items may also sit inside a group of the right kind.
Resources
- Understanding 1.3.1 Info and Relationships W3C
- W3C ACT rule ff89c9 W3C ACT
- Structural roles W3C WAI
- WAI-ARIA 1.2 specification W3C
Updated October 27, 2026