spec checked

WAI-ARIA APG: Treegrid Pattern

Defines treegrid as a hierarchical data grid with expandable and collapsible parent rows, focusable rows and cells, focus versus selection distinction, row-first and cell-first keyboard navigation, expansion with Right and Left Arrow or Enter, selection shortcuts, row and cell roles, aria-expanded placement, aria-selected, aria-sort, aria-readonly, row and column counts, and row or column indices.

Open source

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. APG treegrid guidance supports the hierarchy-plus-grid boundary, keyboard navigation, focus and selection distinction, roles, expansion state, sort, readonly, and dynamic index requirements.

Evidence Role

This source is treated as spec evidence. Use it to validate the decision rules above, not as a visual style reference.

Publisher: W3C Web Accessibility Initiative. Last checked: .