3:05 · recorded · Watch on YouTube (number 10 in the series) · Transcript

Transcript

Skill accessibility audit turned an agent's vague accessibility advice into repeatable checks and evidence a maintainer could review.

This was Snap Synapse's rendered page check for documentation and content heavy sites. It ran after a build, during pull request review. The command line and GitHub Action worked without an AI agent.

The early write-up described the gap: agents needed a protocol for real tools, useful reports, and human follow-up. The repository began in March of twenty twenty-six. Template-aware discovery followed that month. By November, the preserved release was version three point four point one.

Template-aware sampling was the distinctive idea. Discovery grouped routes and selected representative pages. Reviewed ownership maps could focus checks on changed surfaces. But a sample didn't prove coverage of unscanned pages or interactions, and matching findings didn't prove a shared cause.

Baseline CI supported sites with existing debt. Its workflow called for reviewing and committing accepted findings, then comparing compatible scope on later runs. A passing new finding gate meant no new findings in that sample. It didn't erase existing barriers. The recorded synthetic walkthrough showed the policy. Unchanged debt passed. A new unnamed button failed with exit two. Restoring its name passed again. A required page failure exited one: missing evidence, rather than a clean accessibility result. Report generation turned a scan into Markdown and structured JSON. This command ran on retained synthetic evidence. The report separated scope, findings and limitations. Generating it wasn't another accessibility test; the raw scan was separate evidence. The boundary mattered. Component tests, authored journeys, keyboard checks and assistive technology evaluation filled other gaps. Automated findings helped us investigate barriers. A passing sample didn't establish usability or certify accessibility conformance.

Version three point four point one preserved the workflow and more careful report claims. The MIT licensed release included source packages and checksums. The repository recorded signed tag and deployment evidence.

The reason for retirement was simple: Sam was the only person running it. This record preserved the contribution: representative checks, reviewed baseline policy, and clear limits on the evidence. For the record.

Catch new automated accessibility findings after your site build.

This project checked representative rendered pages on documentation and content-heavy sites, compared findings against reviewed existing debt, and brought evidence into PR review.

The Node CLI and GitHub Action worked without an AI agent; a coding agent could coordinate the same pipeline. The final release used axe-core and Puppeteer.

v3.4.1 requires Node.js 22.12.0 or later and uses Puppeteer 25.16.0. Release page. Action examples pin the versioned release.

Its strongest fit was a content site with many routes and existing findings, where a maintainer wanted a reviewed page-scan gate in the repository. The workflow and companion-tool guidance below are preserved for continued evaluation of that approach.

Skill A11y Audit workflow: build and serve, scan representative pages with axe-core and Puppeteer, then review the PR. Component tests, journeys and human evaluation remain separate.

Historical run on the EveryAILaw sitemap, recorded before v3.

The record

Why it stopped

Public maintenance ended because Sam was the only person running the project.

The final source, workflow walkthrough and links to companion tools are preserved below. Public maintenance has ended; GitHub archival is a separate setting and is not claimed here.

Status
Retired,
Origin
Built by Sam Rogers at Snap Synapse; repository history began in March 2026.
Final release
v3.4.1,
License
MIT
Code
github.com/snapsynapse/skill-a11y-audit

Build your site. Check rendered pages. Review the PR.

This check sits after the target site's build and alongside component, journey and human testing. It can scan a locally served build or an approved reachable preview. It does not build your application for you.

  1. First adoption: discover the site, review selected and omitted scope, inspect findings, then commit a human-reviewed baseline if using the new-finding gate.
  2. Each PR: build and serve the site, discover representative routes, run axe-core, compare with that baseline, and retain scan and planning artifacts.
  3. Review: inspect new findings and operational failures, fix the responsible source, rebuild and rescan. A baseline update is a separate acceptance decision.
  4. Alongside it: keep component checks, authored interaction tests and manual assistive-technology evaluation. A passing sample is not a whole-site accessibility assessment.

A green new-finding gate means: no new automated findings compared with the accepted baseline in the scanned scope. Existing debt remains. A failed browser, discovery or required-page check is missing evidence, not a clean result.

Start without optional route/ownership maps if you cannot review them yet; remove those inputs from the starter and scan the full representative plan. Add reviewed maps when they reflect the site's actual structure and ownership.

First-run walkthrough, PR steps and result triage · Baseline setup · Tools for the other gaps

Why skill-a11y-audit?

Framework tests cover components and enterprise platforms cover full programs. skill-a11y-audit occupies the repository-native middle: deterministic evidence across large public sites without a hosted dashboard or a zero-violation prerequisite.

Template-aware sampling

Plan representative scans using route groups and reviewed ownership maps. Matching rule patterns suggest possible shared causes; confirm the responsible source and rescan after fixes. Sampling does not establish coverage of unscanned pages or states.

Legacy-friendly regression gates

Review and commit the current findings as an accepted baseline, then fail CI only when a change introduces a new rule, route, and selector fingerprint. Existing debt stays visible without blocking adoption.

Portable process boundary

Invoke discovery, changed-surface selection, scanning, and reporting through one versioned JSON request. Existing CI runners and agent systems can consume the native artifacts without adopting a vendor-specific orchestration layer.

Which part of your workflow needs coverage?

Choose the missing check. These tools are alternatives or companions, not bundled integrations; you do not need to adopt them all. Links point to their own setup and support documentation. Capabilities reviewed November 30, 2026.

Your gap Start with Relationship to this repo
Component variants Storybook accessibility tests Check authored stories during development; rendered-page composition remains separate.
Login, dialogs and other journeys Playwright plus axe Scan deliberate test checkpoints. This repo accepts storage state but does not run authored journeys.
Representative site scans with existing debt Skill A11y Audit Build/serve, discover, select, scan and review findings against accepted debt.
Simple URL lists or sitemap scans Pa11y CI An alternative when route/ownership planning is unnecessary. Compare gate semantics before migrating.
Performance, SEO and a separate accessibility score Lighthouse Run separately. A score does not replace finding-level gates or human evaluation.
Managed monitoring and shared review Deque Developer Hub or BrowserStack Accessibility Evaluate managed workflows when needed; this repo provides local artifacts, not a hosted dashboard.
Keyboard, screen-reader and usability evaluation W3C evaluation guidance and human reviewers Evaluate what automated rules and samples cannot establish. No green gate replaces this work.

If your existing tests already cover the rendered states and finding policy you need, keep that workflow. Adopt this repo when representative route planning, reviewed ownership maps and portable PR evidence fill a gap. Lighthouse and live tracker writes are separate workflows; the bundled issue planner produces dry-run plans.

Baseline identity uses pathname, rule and selector, excluding origin, query parameters and named interaction state. Keep distinct sites and states in separately reviewed scopes. Use authored Playwright or Storybook checks for interaction coverage. Pa11y CI already supports multi-page scans; this project's distinction is the combined planning, ownership and evidence workflow.

Alternatives, integration recommendations and evidence limits (researched November 30, 2026).

Best fit: public sites, documentation systems, government information services, static generators, and content estates with many URLs generated by shared templates.

Adopt the gate without fixing everything first

A baseline is an explicit record of accepted findings; it is not a claim that they are harmless. Review it, commit it, and let CI reject only newly introduced rule, route, and selector fingerprints.

1. Create a reviewed baseline

Replace: TARGET_URL → reachable URL approved for this audit.

Customize

node a11y-audit/scripts/scan.js \
  --urls TARGET_URL \
  --write-baseline .a11y-audit/baseline.json

Create or update this file only after reviewing the current findings.

2. Block new barriers

Replace: TARGET_URL → reachable URL approved for this audit.

Customize

node a11y-audit/scripts/scan.js \
  --urls TARGET_URL \
  --baseline .a11y-audit/baseline.json \
  --fail-on new

The scan reports accepted, new, and resolved findings and guards axe-core version drift.

3. Reuse the GitHub Action

Replace: BUILD_DIR → repository-relative directory containing the built site.

Customize

- uses: snapsynapse/skill-a11y-audit/.github/actions/scan@v3.4.1
  with:
    serve-path: BUILD_DIR
    discover-url: http://127.0.0.1:8088/
    discover-group-map: .a11y-audit/route-group-map.json
    surface-map: .a11y-audit/surface-map.json
    changed-base: ${{ github.event.pull_request.base.sha }}
    changed-head: ${{ github.event.pull_request.head.sha }}
    baseline: .a11y-audit/baseline.json
    fail-on: new

Fetch full Git history before supplying base and head SHAs. The workflow starter includes that checkout setting. Reviewed route patterns group flat or irregular sites, and a schema-v2 ownership map can include the directly changed page when it already appears in discovery. Unsafe route grouping scans every discovered URL. Unsafe ownership, missing history, and shared-code rules retain the complete representative plan.

Final release

Final release v3.4.1 required Node.js 22.12.0 or later. The examples below document that release. Frozen runtime and browser dependencies need a fresh suitability and security review before continued execution.

Get the versioned source archives and SHA256SUMS. The anchored guide describes the final release, not ongoing support. Unversioned Skills CLI commands below are retained for reference; review their resolved source rather than assuming they select the final tag.

Upgrading from v2

Upgrade Node before installing or scanning. The managed graph pins Puppeteer 25.16.0 and removes extract-zip. Existing stale skill-local Puppeteer is replaced through the committed lockfile. Project and global fallback packages need their own dependency review.

axe-core stays at 4.12.1. Review any changed findings before updating an accepted baseline. Browser installation downloads the matching Chrome; PUPPETEER_SKIP_DOWNLOAD=true requires that browser already available in the configured cache.

Read runtime and browser installation guidance.

Options are listed from simplest to most manual. The reviewed assistant acquisition uses a plain-text, hash-pinned GuideCheck guide your assistant verifies and you approve before anything runs. Guide 0.3.20 acquires release-specific source. Verification evidence is retained in the repository release record. Verify the hosted result and exact guide hash before use.

1. Reviewed assistant install

Literal

Fetch and verify
https://skilla11y.dev/.well-known/assistant-guide.txt
with GuideCheck (https://guidecheck.org/verify),
report the achieved level and SHA-256,
then follow its acquisition action with my approval.

Guide 0.3.20 acquires v3.4.1 source. Verify the deployed guide and report its achieved level and exact hash before use. The guide clones source without registering an agent-client skill. Use the Skills CLI for registration. Every action requires approval. Read and verify the guide before use.

2. Historical Skills CLI registration

Literal

npx skills add \
  snapsynapse/skill-a11y-audit \
  --skill a11y-audit

The open Skills CLI detects supported agents and lets you choose project or global scope. Review the source, then select Claude Code, Codex, or another supported agent.

Temporary Skills CLI invocation

Literal

npx skills use \
  snapsynapse/skill-a11y-audit \
  --skill a11y-audit

The CLI prepares a temporary skill invocation and leaves no persistent project installation.

3. Choose an agent

Literal

# Claude Code, current project
npx skills add \
  snapsynapse/skill-a11y-audit \
  --skill a11y-audit \
  --agent claude-code \
  --yes

# Codex, current project
npx skills add \
  snapsynapse/skill-a11y-audit \
  --skill a11y-audit \
  --agent codex \
  --yes

Add --global to make the skill available across projects.

4. Manual fallback

Claude project: .claude/skills/a11y-audit/
Claude personal: ~/.claude/skills/a11y-audit/
Codex project: .agents/skills/a11y-audit/
Codex personal: ~/.agents/skills/a11y-audit/

Copy the repository's a11y-audit/ folder to one of these supported locations.

Then: ask your coding agent

Literal

Run an accessibility audit on this project.

The skill runs discover → scan → report automatically.

5. Run from a repository clone

Replace: TARGET_URL → reachable URL approved for this audit.

Customize

node a11y-audit/scripts/discover.js \
  --url TARGET_URL \
  --output /tmp/discover.json

node a11y-audit/scripts/scan.js \
  --discover /tmp/discover.json \
  --root . --summary \
  --output /tmp/scan.json

node a11y-audit/scripts/report.js \
  --input /tmp/scan.json \
  --output-dir ./audits

These paths assume the repository is cloned locally. Each script writes JSON the next step reads.

External runners can instead invoke scripts/run-audit.js with one reviewed JSON request. Read the interoperability contract.

For automation, the experimental --contract posix-json-v1 adapter mode emits one terminal JSON result and keeps operational failures distinct from gate outcomes. Existing commands keep their defaults. Read the opt-in CLI contract.

Sample output

A structured markdown report plus versioned JSON. Configure output_mode in .a11y-audit/PROJECT_CONTEXT.md; direct report.js runs write both files. The excerpt below is illustrative and abridged, not a verbatim report.

Actual local fixture artifacts: generated report, raw scanner JSON and three-route walkthrough outcomes. Tested locally November 30, 2026 with Node 26.13.1, axe-core 4.12.1 and Puppeteer 25.16.0, sandbox enabled. These artifacts were captured during local v3.4.1 preparation; publication evidence is recorded separately. This is synthetic browser evidence, not adoption or manual accessibility acceptance. Public scan copies redact local home paths; findings are unchanged.

## Executive Summary
Pages scanned: 22 of 746  ·  Template groups: 16
Violations: 3  ·  Severity: 2 serious, 1 moderate
Baseline: 27 accepted  ·  1 new  ·  2 resolved

## Findings by Rule

Rule                  Impact    Instances  Affects
color-contrast        serious   6          regulation/*, requires/*
aria-required-attr    serious   2          nav, footer
landmark-one-main     moderate  1          homepage

## Shared Template Patterns
Shared issues on regulation/*, requires/*: color-contrast
→ Inspect the candidate shared template; fix confirmed causes and rescan.

What it does not claim

Not certification

Automated evidence does not prove WCAG or legal conformance. Reports identify manual checks that still require people and assistive technology.

Not an automatic fixer

The project preserves an auditor/fixer boundary. It reports evidence and remediation guidance but does not modify application source.

Not hosted monitoring

Artifacts and policy stay in your repository. Use an enterprise platform when you need dashboards, organizational workflows, or managed manual testing.