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