使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/smukh/a11y-agent-skills --skill accessibility-regression-test开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
Accessibility regression test
Protect the user-facing behavior that failed, after the repair has been verified in the original state.
Workflow
- Read the before evidence and verified after evidence. State the barrier in
terms of user behavior.
- Choose the narrowest reliable layer with
- Make the test fail against the known broken behavior when practical, then
pass with the repair.
- Assert outcomes such as focus destination, exposed error, accessible name, or
absence of the original fingerprint. Do not assert only that an attribute string exists.
- Control route, state, viewport, reduced motion, and data so the test is
repeatable.
- Keep manual-only outcomes as an explicit review record rather than a
misleading automated test.
Boundaries
Do not snapshot raw axe output, browser versions, run IDs, or timestamps. Do not weaken a rule, baseline away a new issue, hide content, or remove functionality to make a test pass. A regression test protects its scoped behavior; it does not certify the component or page.

