spec checked

W3C WCAG Technique H102: Creating modal dialogs with the HTML dialog element

Documents modal dialog implementation checks including Escape dismissal and returning focus to the invoking element.

Open source

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Modal dialog Choose a modal dialog for a short contained task that must temporarily suspend interaction with the page behind it. Opening the modal moves focus to the best starting element inside the dialog, not to the dimmed page. Documents HTML modal dialog checks including Escape dismissal and focus returning to the invoking element.

Evidence Role

This source is treated as spec evidence. Use it to validate the decision rules above, not as a visual style reference.

Publisher: W3C Web Accessibility Initiative. Last checked: .