Accessibility
- An
alertdialog, or adialogatfullscreen, witharia-modal. The role follows M3: "On web, basic dialogs should have the alert dialog role" (M3 dialogs accessibility). A full-screen dialog holds a task rather than a prompt, so it is a plaindialog;roleoverrides either. The title names it (aria-labelledby), orariaLabelwithout one, and shows no tooltip; the content describes it. - Opening it focuses its first focusable element, or the dialog; closing it gives focus back.
Tabstays inside it, and the page behind it is inert. Escapeand a click on the scrim close it, unless turned off. The close button is named "Close dialog".- Its motion is reduced to a fade under
prefers-reduced-motion.