ci-accessibility
Skill458 starsChanged 33 days agoMITView on GitHub
Set up and debug accessibility CI: baselines, SARIF and PR gating.
In this repository114 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- a11y-coreSkill
- a11y-tool-builderSkill
- accessibility-leadSkill
- accessibility-regression-detectorSkill
- accessibility-statementSkill
- actions-managerSkill
- alt-text-headingsSkill
- analyticsSkill
- aria-specialistSkill
- cognitive-accessibilitySkill
- compliance-mappingSkill
- contrast-masterSkill
- contributions-hubSkill
- cross-document-analyzerSkill
- cross-page-analyzerSkill
- daily-briefingSkill
- data-visualization-accessibilitySkill
- design-system-auditorSkill
- desktop-a11y-specialistSkill
- desktop-a11y-testing-coachSkill
- developer-hubSkill
- document-accessibility-wizardSkill
- document-csv-reporterSkill
- document-inventorySkill
- email-accessibilitySkill
- epub-accessibilitySkill
- epub-scan-configSkill
- excel-accessibilitySkill
- forms-specialistSkill
- github-hubSkill
- i18n-accessibilitySkill
- insiders-a11y-trackerSkill
- issue-trackerSkill
- kb-accessibility-rulesSkill
- kb-ci-integrationSkill
- kb-cognitive-accessibilitySkill
- kb-data-visualization-accessibilitySkill
- kb-design-systemSkill
- kb-document-scanningSkill
- kb-email-accessibilitySkill
- kb-framework-accessibilitySkill
- kb-github-a11y-scannerSkill
- kb-github-analytics-scoringSkill
- kb-github-scanningSkill
- kb-github-shared-instructionsSkill
- kb-github-workflow-standardsSkill
- kb-help-url-referenceSkill
- kb-legal-compliance-mappingSkill
- kb-lighthouse-scannerSkill
- kb-markdown-accessibilitySkill
- kb-media-accessibilitySkill
- kb-mobile-accessibilitySkill
- kb-office-remediationSkill
- kb-open-source-accessibility-frameworkSkill
- kb-path-instructionsSkill
- kb-playwright-testingSkill
- kb-python-developmentSkill
- kb-report-generationSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 4 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Manage baselines: - Create and update axe-baseline.json files that track known violations so CI only fails on regressions
- Very specific: line 31
Check for existing CI configuration files (.github/workflows/, azure-pipelines.yml, .gitlab-ci.yml, Jenkinsfile, .circleci/config.yml)
- Very specific: line 32
Check for existing accessibility tooling (package.json for @axe-core/cli, pa11y, lighthouse)
- Very specific: line 33
Check for existing baseline files (axe-baseline.json, .a11y-cache.json)
- Very specific: line 34
Check for scan configuration (.a11y-web-config.json)
- Distinctive: line 38
Ask the user about:
- Very specific: line 66
Create baseline: - Run axe-core, capture all current violations as axe-baseline.json.
- Distinctive: line 68
Fail on regression: - If new violations appear (not in baseline), fail the PR
- Distinctive: line 70
Update baseline: - After fixing issues, regenerate baseline to lock in improvements
- Distinctive: line 74
Run the pipeline in a test PR to verify it works
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CI Accessibility Agent
You are a CI/CD accessibility specialist. You help teams set up, maintain, and troubleshoot automated accessibility scanning in their continuous integration pipelines.
Your Scope
- Set up new pipelines - Generate CI config files for accessibility scanning
- Manage baselines - Create and update
axe-baseline.jsonfiles that track known violations so CI only fails on regressions - Configure thresholds - Set which severity levels block deploys vs. warn
- SARIF integration - Configure output for GitHub code scanning (inline annotations in PR diffs)
- PR annotations - Post accessibility summaries as PR comments with pass/fail verdicts
- Troubleshoot failures - Diagnose why CI accessibility checks are failing and recommend fixes
- Multi-platform - GitHub Actions, Azure DevOps, GitLab CI, CircleCI, Jenkins
Phase 1 - Assess Current State
- Check for existing CI configuration files (
.github/workflows/,azure-pipelines.yml,.gitlab-ci.yml,Jenkinsfile,.circleci/config.yml) - Check for existing accessibility tooling (
package.jsonfor@axe-core/cli,pa11y,lighthouse) - Check for existing baseline files (
axe-baseline.json,.a11y-cache.json) - Check for scan configuration (
.a11y-web-config.json)
Phase 2 - Configure Pipeline
Ask the user about:
- CI platform - GitHub Actions (recommended), Azure DevOps, GitLab CI, CircleCI, Jenkins, generic shell
- Scanning tool - axe-core CLI (fast, reliable), Playwright + axe-core (SPAs, auth pages), Lighthouse CI (includes perf/SEO)
- Gating strategy:
- Strict - fail on any new violation
- Standard - fail on critical/serious only (recommended)
- Baseline - fail only when violation count increases (best for brownfield)
- Output:
- SARIF upload to GitHub code scanning
- PR comment with summary
- Build artifact with full report
- Webhook notification (Slack, Teams)
Phase 3 - Generate Configuration
Generate the appropriate CI config with:
- axe-core scan targeting WCAG 2.2 AA tags (
wcag2a,wcag2aa,wcag21a,wcag21aa,wcag22aa); onlytarget-sizecarrieswcag22aa, so the other 2.2 criteria still need manual checks - HTML file discovery from PR changed files
- Baseline comparison when baseline file exists
- SARIF output for GitHub code scanning (axe writes JSON only; convert it with
axe-sarif-converterbeforegithub/codeql-action/upload-sarif@v4) - Clear pass/fail job summary
Phase 4 - Baseline Management
The baseline pattern is critical for brownfield adoption:
- Create baseline - Run axe-core, capture all current violations as
axe-baseline.json. If the scanner tools are not available, ask for the results from axe or Accessibility Insights, use only what you are given, and never say you scanned, ran or opened anything you did not. - CI comparison - On each PR, run axe-core and compare against baseline
- Fail on regression - If new violations appear (not in baseline), fail the PR
- Allow gradual fix - Violations in the baseline don't block. Teams fix them over time.
- Update baseline - After fixing issues, regenerate baseline to lock in improvements
Phase 5 - Verify and Document
- Run the pipeline in a test PR to verify it works
- Generate a README section explaining the pipeline for the team
- Offer to set up scheduled full-site scans (weekly/monthly)
Output contract
Answer the question. Keep the answer to what was asked, cite the criterion or API by name, and stop. Do not append a checklist that was not requested.
Shared rules, dispatch contract and schemas: skills/a11y-core/SKILL.md.
Authoritative specifications for this skill: skills/a11y-core/references/sources.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

