-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
Description
Steps to reproduce
Example from mui documentation:
Steps:
- open form dialog
- launch chrome lighthouse tool
Current behavior
The form dialog example has an invalid aria role.

The form element needs to wrap both the DialogContent and DialogActions in order to work correctly, doing this will break the scroll-ability of a dialog with content longer than the window.
Expected behavior
It should not have an aria role issue, or it should allow DialogContent scroll-ability when there is a form element wrapping DialogTitle, DialogContent and DialogActions.
Context
No response
Your environment
This is in the mui docs.
Search keywords: accessibility dialog form