MDN ARIA treeitem role
Documents treeitem as a node in a tree, including parent and end-node behavior, group nesting, aria-expanded, aria-selected or aria-checked selection state, aria-multiselectable constraints, selectable versus nonselectable nodes, accessible names, keyboard interactions, and JavaScript focus and selection management requirements.
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 treeitem selection with aria-selected or aria-checked, single versus multi-selection constraints, accessible names, group nesting, and JavaScript keyboard requirements. |
Comparisons supported by this source
- Tree selection vs listbox vs checkbox group vs transfer list
MDN documents treeitem selection with aria-selected or aria-checked, single versus multi-selection constraints, accessible names, group nesting, and JavaScript keyboard requirements.
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: .