WCAG 2.1 AA Legal Baseline Audit for templates
Runs the same checker as the npm package
@readystack/wcag21-aa-legal-baseline-auditon a Node.js runtime that pip installs for you (nodejs-wheel-binaries) - no system Node.js needed. Your files are checked locally.
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
--ruleslists 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.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| readystack_wcag21_aa_legal_baseline_audit-0.1.8.tar.gz | 15.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 files / readystack_wcag21_aa_legal_baseline_audit-0.1.8.tar.gz
| Download URL | readystack_wcag21_aa_legal_baseline_audit-0.1.8.tar.gz |
|---|---|
| Size | 15.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e2104b1b770bcfb4aef746d03c7646e52b489f59d3deaace2f793d17f4bd927
|
|
BLAKE2b-256 checksum How to use checksums |
01baf95b29076346767419955e0cd7df81a8315ddab9d48f1e01a978d6511175
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / readystack_wcag21_aa_legal_baseline_audit-0.1.8-py3-none-any.whl
| Download URL | readystack_wcag21_aa_legal_baseline_audit-0.1.8-py3-none-any.whl |
|---|---|
| Size | 17.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54f65a7eaacb097d357fcffb1b07781a3bc41461e27e5c012a2b79581bfa0362
|
|
BLAKE2b-256 checksum How to use checksums |
a21f76362068d094ca175361ffba01d7a72084e6a05bb7019418dc195eff6b7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|