Getting Started
Install
Section titled “Install”pip install a11y-lintRequires Python 3.11+.
Scan CLI output
Section titled “Scan CLI output”# Scan a filea11y-lint scan output.txt
# Scan from stdinecho "ERROR: It failed" | a11y-lint scan --stdin
# JSON output for CIa11y-lint scan output.txt --jsonGenerate reports
Section titled “Generate reports”# Markdown reporta11y-lint report output.txt -o report.md
# Scorecard with gradea11y-lint scorecard output.txt
# shields.io badgea11y-lint scorecard --badge output.txtWhat it catches
Section titled “What it catches”- Lines too long for magnified displays
- ALL-CAPS text that hinders readability
- Jargon with no explanation
- Color as the only signal (WCAG 1.4.1)
- Missing “why” and “fix” context
- Excessive emoji use
- Ambiguous pronouns