MDN ARIA tree role
Documents tree as a hierarchical widget for selecting one or more items, with treeitem descendants, group containers, aria-expanded on parent nodes only, accessible naming, aria-multiselectable, selected state independent from focus in multi-select trees, keyboard navigation, typeahead, and dynamic node position properties.
What this source can teach
Use this source to check a technical or accessibility requirement against its exact wording and scope.
- Start with the original. Open the source and find the guidance or example relevant to your task.
- Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
- Check the setting. Compare the source's platform, people, and constraints with your own decision.
Pattern Decisions This Source Supports
| Pattern | Supported decision | Required contract | Claim note |
|---|---|---|---|
| Tree selection | Choose tree selection when hierarchy is meaningful to the user's selection task and the parent-child relationship changes how options are found or interpreted. | The tree container has role tree and a visible label referenced by aria-labelledby or an accessible name. | MDN documents tree role hierarchy, accessible names, aria-expanded placement, aria-multiselectable, focus versus selected state, keyboard navigation, and dynamic node properties. |
Comparisons supported by this source
- Tree selection vs listbox vs checkbox group vs transfer list
MDN documents tree role hierarchy, accessible names, aria-expanded placement, aria-multiselectable, focus versus selected state, keyboard navigation, and dynamic node properties.
Evidence Role
This source is treated as spec evidence. Its value comes from the specific claims and setting described above.
Publisher: MDN Web Docs. Last checked: .