Skip to content
UPEEC

Native Dialogs

The `dialog` element provides accessible modals and popups with `showModal()` and `close()`.

Easy
Comments 0

Handles focus trapping and Escape-to-close automatically. The popover attribute creates lightweight popups without JavaScript.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.