When dialog opens, focus remains on background #34252
Labels
component: dialog
This is the name of the generic UI component, not the React module!
support: question
Community support but can be turned into an improvement
Duplicates
Latest version
Current behavior 😯
When a dialog opens, focus remains on the background. I've used CSS to highlight focus in yellow to make this visually evident:
Expected behavior 🤔
When a dialog opens, focus should move to a dialog button (ideally the close/cancel button).
Steps to reproduce 🕹
Context 🔦
This is important for screen reader users.
Your environment 🌎
npx @mui/envinfo
The text was updated successfully, but these errors were encountered: