Local-first · Audit & fix from the terminal

fixa11y CLI

Scan, fix, and audit your React codebase from the terminal — locally with your own API key, or via cloud mode.

CLI is free with your own Anthropic API key. No fixa11y credits used.

Live preview

npm install -g @raabbit/fix508

Installs the fixa11y command globally. Requires Node 18+.

Set your Anthropic API key, then run any of the three commands:

export ANTHROPIC_API_KEY=sk-ant-...
scan <target>Report WCAG 2.1 AA / Section 508 issues. Read-only.
fix <file>Rewrite a file with accessible code. Use --diff or --write.
audit <target>Aggregate audit with a JSON report for CI / compliance.

Safe by default. Nothing is modified unless you pass --write.

# Find issues in one file
fixa11y scan Button.tsx

# Preview a rewrite as a diff
fixa11y fix Button.tsx --diff

# Apply fixes in place (CI-friendly with --yes)
fixa11y fix Button.tsx --write --yes

# Generate a JSON compliance report
fixa11y audit ./components --report report.json

Cloud mode — no Anthropic key needed (uses fixa11y credits):

fixa11y scan Button.tsx --cloud --token fixa_xxx

Generate a token at /account, or set FIX508_TOKEN in your shell.