使い方
- インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
- 必要なツール、認証情報、対応環境を原文で確認します。
- 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/smukh/a11y-agent-skills --skill dialog-accessibility開始前の確認
- 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
- スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。
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.
Boundaries
Do not force focus to the first interactive control when a heading or explanatory content is the more useful starting point. Do not add role=dialog without implementing the interaction model. A passing axe scan does not prove containment, restoration, or mobile usability.

