Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 667 Bytes

README.md

File metadata and controls

17 lines (11 loc) · 667 Bytes

@dojo/widgets/dialog

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 closeText property.