Glossary
Dialog element
Dialog element
The dialog element is the native HTML tag (<dialog>) for building dialog boxes and modal windows. Opened as a modal, it dims the page, traps focus inside, and closes on the Escape key, with no JavaScript needed to get that behavior right.
Webflow Modals use the dialog element under the hood, so keyboard and screen reader behavior come from the browser. Style the dimmed backdrop with the ::backdrop pseudo-element.
Other glossary terms
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Hmm…we couldn’t find any results. Try a different search term or reset the filter.
Reset the filter