ARIA container roles must contain their required child roles
Some ARIA roles, such as listbox, menu, tablist or grid, only make sense when they hold specific child roles. Without those children, assistive technology announces an empty or broken widget.
| Rule ID | aria-required-children |
|---|---|
| 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 |
| Needs a change in the website’s code |
Example
<div role="listbox" aria-label="Delivery time">
<div>Morning (8:00–12:00)</div>
<div>Afternoon (12:00–17:00)</div>
</div>A screen reader announces “Delivery time, list box” but finds no options to choose from.
<div role="listbox" aria-label="Delivery time">
<div role="option">Morning (8:00–12:00)</div>
<div role="option">Afternoon (12:00–17:00)</div>
</div>A screen reader announces “Morning (8:00–12:00), 1 of 2” and lets the user pick a slot.
Why it matters
A container role is a promise to screen reader users. When they hear “list box”, “menu” or “tab list”, they expect to move between options, menu items or tabs with the arrow keys and to hear how many there are. If the children have no role, or the wrong one, that promise breaks: the widget may be announced as empty, the item count is wrong, and keyboard commands that the screen reader offers for that widget stop working.
Blind users and people who rely on voice control are hit hardest, because they navigate by these roles. Sighted mouse users see a working list, so the problem often goes unnoticed in testing. This is a WCAG 1.3.1 failure: the structure shown on screen is not available to assistive technology.
How to fix it
First ask whether you need the ARIA role at all. A native <select>, <ul> or <table> comes with the right structure built in.
If you keep the ARIA widget, give each direct child the role the container expects:
| Container | Required children |
|---|---|
list |
listitem |
listbox |
option (optionally in group) |
menu, menubar |
menuitem, menuitemcheckbox, menuitemradio |
tablist |
tab |
tree |
treeitem (optionally in group) |
grid, table |
row (optionally in rowgroup) |
Wrappers in between. A plain <div> or <span> without a role is skipped, so it may stay. An element with another role, such as a <li> inside role="tablist", is not allowed. Neutralise it with role="none":
<ul role="tablist">
<li role="none"><a role="tab" href="#specs">Specifications</a></li>
</ul>
Children elsewhere in the DOM. Point aria-owns at them from the container.
Content still loading. Set aria-busy="true" on the container until the children arrive, then remove it.
Checklist
- Prefer native select, ul or table elements over ARIA containers.
- Give every child the role its container requires.
- Use role="none" on wrapper elements that have their own role.
- Use aria-owns for children placed elsewhere in the DOM.
- Set aria-busy="true" while the children are still loading.
How the check works
The check looks at every element whose explicit role requires owned children. It fails when an owned element has a role that is not allowed there, or when none of the required child roles is present. Owned elements include DOM children and elements referenced by aria-owns; plain wrappers without a role are looked through. Empty lists, menus, grids, tab lists and trees are flagged for review instead, because they may be filled later. aria-busy="true" lets an empty container pass.
Resources
- Understanding 1.3.1 Info and Relationships W3C
- W3C ACT rule bc4a75 W3C ACT
- W3C ACT rule ff89c9 W3C ACT
- Structural roles W3C WAI
- WAI-ARIA 1.2 specification W3C
Updated October 27, 2026