Skip to content

[data grid] Master detail toggle button missing aria-expanded attribute #17082

@icf-mrankin

Description

@icf-mrankin

Steps to reproduce

Steps:

  1. any of the examples on the docs page -> https://mui.com/x/react-data-grid/master-detail/
  2. inspect the expand/collapse button in devtools
  3. note the absence of the aria-expanded attribute

Current behavior

While the buttons have an appropriate label, shouldn't they also have the aria-expanded attribute like the accordion and tree view?

Expected behavior

No response

Context

No response

Your environment

npx @mui/envinfo
  Browsers used: Chrome, Brave, Safari, Firefox
  Output from `npx @mui/envinfo` goes here.

Search keywords: data grid aria-expanded master detail accessibility

Metadata

Metadata

Assignees

Labels

accessibilitya11yfeature: Master-detailRelated to the data grid Master-detail featuregood first issueGreat for first contributions. Enable to learn the contribution process.scope: data gridChanges related to the data grid.type: bugIt doesn't behave as expected.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions