使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/smukh/a11y-agent-skills --skill accessible-component-review开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
Accessible component review
Review every supported state and input path of one reusable component.
Workflow
- Inventory states, variants, input methods, content slots, and expected
semantics.
- Select the native element that already provides the behavior. Use ARIA
patterns only when native HTML cannot provide the required interaction.
to each state.
- Run deterministic rules, keyboard behavior, forced-colors, reduced-motion,
zoom/reflow, and pointer target checks. Record manual judgment separately.
- Trace failures to the component source and repair the smallest shared layer
that owns the defect.
- Add tests for user-visible behavior and verify consuming examples do not
regress.
Boundaries
Do not add ARIA that duplicates or conflicts with native semantics. Do not treat a single Storybook example as coverage of every consumer. Do not assert that an accessible name is meaningful without content context.

