smukh/a11y-agent-skills

accessible-forms

Reviews and repairs accessible form labeling, instructions, autocomplete, grouping, validation, error summaries, announcements, redundant entry, and authentication.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/smukh/a11y-agent-skills --skill accessible-forms

開始前の確認

  • 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
  • スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

Accessible forms

Review the user journey, not isolated inputs.

Workflow

  1. Identify every available state: initial, invalid submission, corrected input,

and successful submission. Test at least initial, invalid, and successful states when they exist.

  1. Apply references/forms-checklist.md to

labels, instructions, required communication, autocomplete, grouping, and authentication.

  1. Submit invalid data. Verify errors are identified in text, programmatically

connected to fields, announced or focused appropriately, and summarized when the form size warrants it.

  1. Correct the form and verify stale error state is removed without losing

needed instructions.

  1. Prefer native form elements and associations. Add live regions only for

dynamic changes that need announcement; avoid duplicate announcements.

  1. Preserve the deterministic scan and interaction evidence, then add a

user-behavior regression test.

Boundaries

Do not invent labels, requirements, validation copy, autocomplete purpose, or authentication policy. Escalate missing product meaning for human decision. A machine-detectable label does not establish that the label is clear or correct.

同じリポジトリから

関連する Skills

すべての Skills