dialog-accessibility
Installation
SKILL.md
Dialog accessibility
Verify the whole open–operate–close lifecycle.
Workflow
- Decide whether native
<dialog>meets the product behavior before retaining a custom dialog. - Open it from a known invoker and apply references/dialog-checklist.md.
- Verify the accessible name and any useful description, deliberate initial focus, containment for a modal, background inertness, keyboard-operable close control, Escape behavior, and restoration to the logical invoker.
- Test close by every offered path and test DOM removal or route changes that invalidate the invoker.
- Replay at mobile width and high zoom. Assess nested dialogs as a separate high-risk interaction.
- Save a bounded keyboard journey and rerun the relevant deterministic scan after repairs.