Skip to main content

WCAG 2.1 AA Legal Baseline Audit for templates

Runs the same checker as the npm package @readystack/wcag21-aa-legal-baseline-audit on a Node.js runtime that pip installs for you (nodejs-wheel-binaries) - no system Node.js needed. Your files are checked locally.

WCAG 2.1 AA Audit - HTML template legal baseline (ADA, EN 301 549) — finds the line

Audits HTML, JSX, Vue, Twig, Blade, ERB and Razor markup against the 24 WCAG 2.1 Level AA checks that 28 CFR 35.200 and EN 301 549 actually name - not WCAG 2.2.

Install

wcag21-aa-legal-baseline-audit file

Node 18+. The same 24 rules as the VS Code extension, from a terminal or CI.

Free

  • Audits the open template and names the WCAG 2.1 criterion and level for every finding; Audits only the lines you select, keeping the real line numbers; Prints the whole rule sheet - all 24 checks and the criterion each maps to
  • --rules lists every rule

With a licence ($29 once)

  • Audits every template in the workspace, not the one file you have open; Exports the findings as CSV, JSON or HTML; Applies the mechanical fixes in place; Re-audits automatically on every save
@readystack/wcag21-aa-legal-baseline-audit --dir ./templates --report html --out report.html

A consultancy WCAG audit is $100-$250 per page (Accessible.org published pricing, 2026); this reads every template in the repository for $29 once.

Use from an AI agent (MCP)

Claude Code · Cursor · Windsurf · any MCP client - add to your MCP config:

{ "mcpServers": { "wcag21-aa-legal-baseline-audit": { "command": "npx", "args": ["-y", "@readystack/wcag21-aa-legal-baseline-audit", "--mcp"] } } }

Tools: check_text and check_file (free) · check_dir (licence). The agent gets every finding with the line number.

Use in CI

- name: WCAG 2.1 AA Legal Baseline Audit for templates
  run: npx -y @readystack/wcag21-aa-legal-baseline-audit --dir . --ci

(container: docker run --rm -v "$PWD:/work" getreadystack/wcag21-aa-legal-baseline-audit --dir /work --ci)

The folder sweep, reports and CI mode need one licence — one payment, no subscription. Set READYSTACK_LICENSE=<key> or run --license <key> once.

Get a licence

Install (PyPI)

pip install readystack-wcag21-aa-legal-baseline-audit
wcag21-aa-legal-baseline-audit --help

Metadata

Release files for readystack-wcag21-aa-legal-baseline-audit 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for readystack-wcag21-aa-legal-baseline-audit 0.1.8
File Size Uploaded
readystack_wcag21_aa_legal_baseline_audit-0.1.8.tar.gz 15.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for readystack-wcag21-aa-legal-baseline-audit 0.1.8
File Interpreter ABI Platform
readystack_wcag21_aa_legal_baseline_audit-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 32.6 kB

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page