smukh/a11y-agent-skills

accessibility-regression-test

Converts a verified accessibility repair into the narrowest durable user-behavior test.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
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

  1. Read the before evidence and verified after evidence. State the barrier in

terms of user behavior.

  1. Choose the narrowest reliable layer with

references/test-selection.md.

  1. Make the test fail against the known broken behavior when practical, then

pass with the repair.

  1. 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.

  1. Control route, state, viewport, reduced motion, and data so the test is

repeatable.

  1. 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.

来自同一仓库

更多 Skills

全部 Skills