@dojo/widgets/dialog
January 17, 2020 ยท View on GitHub
Dojo's Dialog component shows content inside a window over top the application content. It provides default styling for a titlebar, content area, underlay, and a close button.
Features
- Can be used as a modal window or classic dialog
- Possible to show a semi-transparent underlay
Accessibility Features
- The titlebar and content have screen-reader-accessible labels and instructions
- The close button is a
<button>with screen-reader-accessible instructive text - Focus is trapped to opened dialogs
i18n Features
- A localized version of the close button instructive text can be passed in via the
closeTextproperty.