Skip to content

[Drawer][a11y] temporary variant should have the same aria-* and role as the Dialog #46673

@siriwatknp

Description

@siriwatknp

Steps to reproduce

  1. Open https://mui.com/material-ui/react-drawer/
  2. Use Devtool and inspect the .MuiPaper-root
  3. There is no role and aria compare to https://mui.com/material-ui/react-dialog/#customization

Current behavior

No role and aria-modal

Expected behavior

There should be role="dialog" and aria-modal="true" on the Drawer paper slot.

Context

From a11y evaluation

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: drawer a11y

Metadata

Metadata

Assignees

Labels

accessibilitya11ycomponent: drawerThis is the name of the generic UI component, not the React module!

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions