Skip to content

CLI Reference

Terminal window
a11y-ci gate [OPTIONS]
OptionTypeDefaultDescription
--currentPATHrequiredPath to the current scorecard JSON
--baselinePATHoptionalPath to the baseline scorecard JSON
--allowlistPATHoptionalPath to the allowlist JSON
--fail-onSEVERITYseriousMinimum severity to fail on
LevelWhen to use
criticalOnly block on show-stoppers
seriousDefault — blocks on barriers that affect daily use
moderateStricter — includes usability issues
minorStrictest practical — catches most issues
infoCatches everything, including informational notes
CodeMeaning
0All checks passed
2Input or validation error (bad JSON, missing file, schema mismatch)
3Policy gate failed (severity threshold, regression, or expired allowlist)

Every message follows the low-vision-first contract: [OK]/[WARN]/[ERROR] + What/Why/Fix. No message is ever just a status code or cryptic one-liner.