Skip to main content
Status indicator: Under construction — coming soon

CLI Overview

The WCAG Audit CLI scans every route in your web application for accessibility issues and outputs fix prompts your AI coding tool can read directly.

What it does

Point the CLI at your project and it auto-discovers routes from your framework (Next.js, Vite, SvelteKit, Remix, Astro), launches a headless browser, runs 12 accessibility checkers on every page, and generates structured reports.

bash
cd my-nextjs-app
wcag-audit scan
Terminal output
✓ wcag-report.xlsx
✓ WCAG_FIXES.md
✓ 24 routes audited in 1m 42s

12 built-in checkers

Built-in accessibility checkers and what each one tests
CheckerWhat it tests
axe-core100+ automated rules (contrast, ARIA, names/roles, headings, alt text)
Keyboard / focusTab walk, focus traps, visible focus, obscured focus
Viewport / reflow320px reflow, 200% zoom, text spacing injection
Hover & on-focusTooltip dismiss, persist, hoverable content
Motion / flashesAutoplay detection, 10-second timelapse flash analysis
Forms / errorsInvalid submit testing, error visibility, redundant entry
Pointer & gestures24px minimum target size, multi-touch detection
Audio / videoCaption, subtitle, and description track presence
Accessible authCAPTCHA detection, paste-blocked fields, cognitive tests
SR shortcutsScreen-reader shortcut uniqueness
Multi-page consistencyNavigation and label consistency across pages
AI vision reviewClaude reviews 12 criteria from screenshots (included on paid plans)

Output files

By default, every scan generates these files. Enable more in .wcagauditrc:

Output files generated by a scan
FileDescriptionDefault
WCAG_FIXES.prompt.mdOne-shot fix prompt with Multi-Agent Protocol (Claude Code) and Linear Protocol (Cursor/Windsurf). Open in your AI editor and apply.Yes
wcag-report.xlsxExcel workbook with Summary, Coverage, and Issues sheetsYes
wcag-ai-fix.jsonStructured fix prompts per finding for programmatic AI tool consumptionNo
.cursor/rules/wcag-fixes.mdcCursor project rulesNo
AGENTS.mdAgent instructions for Claude CodeNo
wcag-coverage.jsonMachine-readable coverage statsNo
wcag-report.jsonFull findings as JSONNo

Supported frameworks

  • Next.js (App Router and Pages Router)
  • Vite + React Router v6+
  • SvelteKit
  • Remix v2
  • Astro
  • Any deployed site via --url + BFS crawl
  • Manual routes file