github/accessibility-scanner

Finds potential accessibility gaps, files GitHub issues to track them, and attempts to fix them with Copilot.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 7, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: github/accessibility-scanner@84a8f6de0b0f7df7ac2083386222388d0e74eeb9 # v3.3.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
urlsNewline-delimited list of URLs to check for accessibility issuesno
url_configsStringified JSON array of URL config objects, each with a 'url' field and an optional 'excludeSelectors' field (array of CSS selectors to exclude from the Axe scan for that URL). When provided, takes precedence over the 'urls' input.no
repositoryRepository (with owner) to file issues inyes
tokenPersonal access token (PAT) with fine-grained permissions 'contents: write', 'issues: write', and 'pull_requests: write'yes
base_urlOptional base URL for the GitHub API (for example, 'https://HOSTNAME/api/v3' for GitHub Enterprise Server)no
cache_keyKey for caching results across runsyes
login_urlIf scanned pages require authentication, the URL of the login pageno
usernameIf scanned pages require authentication, the username to use for loginno
passwordIf scanned pages require authentication, the password to use for loginno
auth_contextIf scanned pages require authentication, a stringified JSON object containing 'username', 'password', 'cookies', and/or 'localStorage' from an authenticated sessionno
skip_copilot_assignmentWhether to skip assigning filed issues to Copilotnofalse
include_screenshotsWhether to capture screenshots and include links to them in the issuenofalse
open_grouped_issuesIn the 'file' step, also open grouped issues which link to all issues with the same problemnofalse
group_byHow to group findings into issues: 'finding' (one issue per violation, default), 'rule' (one issue per rule), or 'rule+url' (one issue per rule per scanned URL).nofinding
file_best_practice_issuesFile issues for best-practice findings (accessibility recommendations that are not hard WCAG failures). Disabling suppresses new issues while existing ones are left untouched.notrue
file_experimental_issuesFile issues for experimental findings (checks that are not yet stable). Disabling suppresses new issues while existing ones are left untouched.notrue
reduced_motionPlaywright reducedMotion setting: https://playwright.dev/docs/api/class-browser#browser-new-page-option-reduced-motionno
color_schemePlaywright colorScheme setting: https://playwright.dev/docs/api/class-browser#browser-new-context-option-color-schemeno
scansStringified JSON array of scans to perform. If not provided, only Axe will be performedno
dry_runWhen true, scan and log the issues that would be filed without opening, closing, reopening, or assigning any issues, and without writing to the cache.nofalse
namedescription
resultsList of issues and pull requests filed (and their associated finding(s)), as stringified JSON
results_filePath to a JSON file containing the results (use for large datasets to avoid output size limits)