
A11y violation gate
Builds a CI ratchet that fails PRs only on new accessibility violations
A11y violation gate is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 18
- Last commit
- License
- MIT
- Listing updated
Similar skills
About A11y violation gate
This skill sets up a continuous integration check for web accessibility that compares each run against a checked-in baseline of known WCAG violations. Pre-existing findings are grandfathered per rule and page, so a project with accumulated debt can still merge pull requests while blocking regressions.
The workflow normalizes results from axe-core, pa11y, Lighthouse, WAVE and IBM Equal Access into one record format keyed by a stable fingerprint. Findings are then tiered by severity: critical and serious issues fail the build, moderate ones appear as warnings in the PR, and minor ones are only logged. A bundled Python example ingests axe-core output and exits non-zero on a blocking verdict.
The skill also covers a fixed-since-baseline counter that shows how many grandfathered violations have been resolved, plus guidance on updating the baseline deliberately during cleanup work rather than automatically in CI. It expects scanner reports as input and is intended for projects that already run one or more of those tools in their pipeline.
When your agent uses it
Use when a project has accessibility debt and a zero-violations gate would block every PR. Builds a CI ratchet that fails only on new WCAG violations a PR introduces, with pre-existing ones baselined per rule and page, from axe-core, pa11y, Lighthouse, WAVE or IBM Equal Access results.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 13 files (107 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the qa-accessibility plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add testland/qa
/plugin install qa-accessibility@testland-qaOr copy only this skill to ~/.claude/skills/a11y-violation-gate:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/a11y-violation-gate &&
cp -R "$tmp/plugins/qa-accessibility/skills/a11y-violation-gate" ~/.claude/skills/a11y-violation-gate &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/a11y-violation-gate inside it instead.
Copy the skill folder to ~/.agents/skills/a11y-violation-gate to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/a11y-violation-gate &&
cp -R "$tmp/plugins/qa-accessibility/skills/a11y-violation-gate" ~/.agents/skills/a11y-violation-gate &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/a11y-violation-gate inside it instead.
Copy the skill folder to ~/.cursor/skills/a11y-violation-gate to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/a11y-violation-gate &&
cp -R "$tmp/plugins/qa-accessibility/skills/a11y-violation-gate" ~/.cursor/skills/a11y-violation-gate &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/a11y-violation-gate inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/testland/qa.git --path plugins/qa-accessibility/skills/a11y-violation-gateOr copy the folder to ~/.gemini/skills/a11y-violation-gate yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/a11y-violation-gate:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/testland/qa.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/a11y-violation-gate &&
cp -R "$tmp/plugins/qa-accessibility/skills/a11y-violation-gate" ~/.copilot/skills/a11y-violation-gate &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/a11y-violation-gate inside it instead.
Get the folder:
git clone --depth 1 https://github.com/testland/qa.gitThen copy qa/plugins/qa-accessibility/skills/a11y-violation-gate into your agent's skills folder as a11y-violation-gate. Agents that support SKILL.md read one folder per skill.
What it does
- Ratchet-based failure gate
- Fails the build only when a pull request introduces violations absent from the stored baseline.
- Unified multi-scanner records
- Normalizes axe-core, pa11y, Lighthouse, WAVE and IBM Equal Access output into one fingerprinted format.
- Severity-tiered decisions
- Blocks on critical and serious findings, warns on moderate, and logs minor issues.
- Checked-in baseline file
- Stores grandfathered fingerprints in a JSON file that changes only through deliberate commits.
- Fixed-since-baseline counter
- Reports how many baseline entries have disappeared from the latest scan as cleanup progress.
- PR summary template
- Renders the verdict, blockers, warnings and counts as a markdown table for PR comments or step summaries.
Good for
- Add a CI accessibility check to a project with many existing violations
- Compare axe-core results against a baseline and fail on new issues
- Track how many legacy accessibility issues have been fixed over time
- Combine pa11y and Lighthouse reports into a single pass or fail verdict
A11y violation gate FAQ
When should A11y violation gate be used instead of a strict scanner gate?
It is meant for projects with existing accessibility debt that would be blocked by a zero-violations rule. The skill notes that a project already clean of violations can use a simpler scanner-native gate without a ratchet.
Which scanners does the gate accept?
The described approach aggregates output from axe-core, pa11y, Lighthouse accessibility, WAVE and IBM Equal Access, though the bundled script only ingests axe-core results and the others are left to be extended.
Does CI update the baseline automatically?
No. The skill says the baseline should be updated deliberately as part of cleanup pull requests and never auto-updated from CI.
What does a blocking result do?
The example script prints a verdict and exits with a non-zero status when critical or serious new violations are found, which halts the CI run.
How do I install A11y violation gate in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/a11y-violation-gate to use it in all your projects, or to .claude/skills/a11y-violation-gate in one project. Or install the qa-accessibility plugin, which includes it: /plugin marketplace add testland/qa, then /plugin install qa-accessibility@testland-qa.
Does A11y violation gate run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use A11y violation gate?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to A11y violation gate?
The closest alternatives to A11y violation gate are Accessibility engineering, Axe a11y, Constraint driven development, Accessibility audit and Fix ci.
Where this comes from
- Description: from the skill's own SKILL.md.
More from testland/qa

Guides an agent through W3C ARIA Authoring Practices patterns for custom widgets
- Open source
- 18 GitHub stars
- Developer tools

Adds automated axe-core accessibility scans to Playwright, Cypress and CI pipelines
- Open source
- 18 GitHub stars
- Developer tools

Builds manual screen-reader test scripts and signed sign-off reports for a feature
- Open source
- 18 GitHub stars
- Developer tools

Checks color pairs and design tokens against WCAG contrast ratios for text and UI
- Open source
- 18 GitHub stars
- Design and media

Aggregates multi-page accessibility scans into a WCAG 2.2 conformance report
- Open source
- 18 GitHub stars
- Documentation review

Checks and tests keyboard operability, focus order and focus visibility against WCAG 2.2
- Open source
- 18 GitHub stars
- Developer tools



