# Certain ARIA roles must contain particular children

> Canonical HTML version: https://rocketvalidator.com/accessibility-validation/axe/4.9/aria-required-children
> Attribution: Rocket Validator (https://rocketvalidator.com)
> License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

Some ARIA parent `role` values must contain specific child elements and `role` values in order to execute the intended accessibility function.

WAI-ARIA outlines specifically, for each role, which child and parent roles are permitted and/or required. ARIA `role`s lacking needed child `role`s will not be able to execute the desired accessibility functions.

The user's context must be communicated by assistive technology. In a `treeitem`, for instance, it is essential to know the parent (container), item, and siblings in the folder. This is possible in two ways:

* **Code order or DOM**: The context required is frequently evident from the code order or DOM.
* **ARIA**: ARIA (such as `aria-owns`) can be used to provide relationships when the hierarchy differs from the code structure or the DOM tree.

<h3>What this Accessibility Rule Checks</h3>

Checks each element containing a WAI-ARIA role for the presence of all requisite child roles.
