Add a Dialog created without Modal #32834
Labels
component: dialog
This is the name of the generic UI component, not the React module!
new feature
New feature or request
Duplicates
Latest version
Summary 💡
Dialogs are both modal and non-modal, as noted in mdn web docs and w3c aria.
I am currently building some tool windows and toolboxes that would be great as floating, draggable dialogs that allow interaction on the page below as well as in the dialog. However, the current Dialog is build on top of Modal, and that creates issues with accessibility for accessing controls on the page and in the dialog.
Can we add a property to Dialog (and possibly Drawer) for isModal={false}?
Examples 🌈
A decent example is Photopea. When you select Layer -> Layer Style -> Blending Options and you get a floating, draggable dialog with options inside the dialog, but also can still select other things at the same time.
Motivation 🔦
Really, the summary expresses it best. Dialogs can be modal or non-modal. Why is Material UI limited to only modal Dialogs? And why create more accessibility issues by limiting to modals? While there are ways to turn off aspects of the Modal component, it has several bugs that still create accessibility issues that have not yet been fixed.
The text was updated successfully, but these errors were encountered: