Accessible Row Grouping
Group header rows produced by grouping are exposed as treegrid parent rows. Each header has an accessible label stating the group value and member count, and is expandable by keyboard. Aggregates in group rows are associated with their columns.
Planned. This page shows the specification from issue #203. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
Sales data grouped by Region with sum aggregates for Revenue.
Expected behavior
Grouping switches the pattern to treegrid automatically. Group rows announce their label and count. Removing grouping returns to a grid without losing focus.
Planned API surface
groupBygroupRowLabelgroupExpandgroupCollapseaggregationsAcceptance criteria
- With an active grouping, the root role is treegrid and group rows have aria-expanded. (pending)
- The group row's accessible label includes the field, value and count. (pending)
- Aggregate cells have aria-colindex matching their column. (pending)
- Changing grouping announces the new grouping state. (pending)