zachkklein/a11yGuard

Detect accessibility regressions between your PR and main

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
OPENROUTER_API_KEYAPI Key for OpenRouter (required for AI fixes)no""
APP_DIRPath to your app directory relative to the repo root (e.g. "my-app", "frontend", or "." for root).no.
BUILD_DIRThe static build output directory name (e.g. "out", "dist", "build").nodist
BUILD_COMMANDThe npm script used to build your app.nobuild
URLSComma-separated list of URL paths to scan (e.g. "/,/about,/dashboard").no/
IGNORE_RULESComma-separated list of axe rule IDs to ignore (e.g. "color-contrast,duplicate-id").no""
FAIL_ON_REGRESSIONFail the check if new violations are introduced. Set to "false" to report only.notrue
IMPACT_LEVELMinimum impact level to track. One of: minor, moderate, serious, critical.nomoderate
WAIT_FOR_NETWORK_IDLEWait for network idle before scanning each page. Recommended for SPAs.notrue
EXTRA_WAIT_MSAdditional wait time in milliseconds after page load before scanning.no500
TOKENGitHub token with pull-requests: write permission.no${{ github.token }}
BASE_URLBase branch deployment URL (e.g. production or main preview). If set with PR_URL, skips local build/serve.no""
PR_URLPR preview deployment URL (e.g. Vercel PR comment link). If set with BASE_URL, skips local build/serve.no""
namedescription
new_violationsNumber of new violations introduced by this PR.
resolved_violationsNumber of violations resolved by this PR.
regressionWhether a regression was detected ("true" or "false").