MDN: ARIA treegrid role
Documents treegrid as a combination of tree and grid roles with rows, columns, gridcells, expandable parent rows, aria-expanded rules, aria-level, aria-posinset, aria-setsize, managed focus, aria-rowcount, aria-colcount, row and column indices, accessible naming, aria-activedescendant alternatives, sorting, menus, and readonly behavior.
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 grid | Choose tree grid when hierarchical rows and tabular columns are both essential to the task. | The first column or row header communicates the hierarchical object name, level, expansion state, and parent-child relationship. | MDN treegrid role guidance supports the tree and grid combination, parent row semantics, managed focus, aria-expanded placement, accessible naming, and dynamic row metadata. |
Comparisons supported by this source
- Tree grid vs data grid vs tree selection vs table
MDN treegrid role guidance supports tree and grid role combination, parent row semantics, aria-expanded placement, managed focus, and dynamic row or column metadata.
Evidence Role
This source is treated as spec evidence. Its value comes from the specific claims and setting described above.
Publisher: Mozilla Developer Network. Last checked: .