Skip to content

[POC][datagrid] Support the "rowheader" attribute for grid cells - #23340

Draft
silviuaavram wants to merge 1 commit into
mui:masterfrom
silviuaavram:feat/row-header-cells
Draft

[POC][datagrid] Support the "rowheader" attribute for grid cells#23340
silviuaavram wants to merge 1 commit into
mui:masterfrom
silviuaavram:feat/row-header-cells

Conversation

@silviuaavram

@silviuaavram silviuaavram commented Aug 14, 2026

Copy link
Copy Markdown
Member

Adds a rowHeader option to GridColDef. Cells in marked columns receive role="rowheader", improving screen reader context when navigating rows.
Generated tree-data and row-grouping columns use row-header semantics by default. Documentation, demos, tests, autosizing utilities, and generated API files are updated accordingly.
Also add a role="rowgroup" to the table header element.

With VoiceOver, whenever we navigate to a new role, the content of the row header is announced first, before announcing the cell content + column name.

@silviuaavram
silviuaavram requested a lite review from Copilot August 14, 2026 13:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@silviuaavram silviuaavram added accessibility a11y scope: data grid Changes related to the data grid. labels Aug 14, 2026
@silviuaavram silviuaavram changed the title [RFC][datagrid] Support the "rowheader" attribute for grid cells [POC][datagrid] Support the "rowheader" attribute for grid cells Aug 14, 2026
@code-infra-dashboard

Copy link
Copy Markdown

Deploy preview

Bundle size

Bundle Parsed size Gzip size
@mui/x-data-grid 🔺+53B(+0.01%) 🔺+31B(+0.03%)
@mui/x-data-grid-pro 🔺+66B(+0.01%) 🔺+28B(+0.02%)
@mui/x-data-grid-premium 🔺+79B(+0.01%) 🔺+43B(+0.02%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers-pro 0B(0.00%) 0B(0.00%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 0B(0.00%) 0B(0.00%)
@mui/x-scheduler 0B(0.00%) 0B(0.00%)
@mui/x-scheduler-premium 0B(0.00%) 0B(0.00%)
@mui/x-chat 0B(0.00%) 0B(0.00%)
@mui/x-license 0B(0.00%) 0B(0.00%)

Details of bundle changes


Check out the code infra dashboard for more information about this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility a11y scope: data grid Changes related to the data grid.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants