No slash command · from accessibility-agents
Provides reference data for integrating the GitHub Accessibility Scanner action: detecting workflow configuration, parsing scanner issues, correlating with local scans, and tracking Copilot-assigned fixes.
Ships in accessibility-agents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The GitHub Accessibility Scanner (github/accessibility-scanner@v3) is an official GitHub Action that:
accesslint and plugins are optional)Current version: v3 (public preview)
To determine whether a repository has the GitHub Accessibility Scanner configured:
Search for workflow files referencing the scanner action:
# Search in .github/workflows/ for the scanner action reference
grep -rl "github/accessibility-scanner" .github/workflows/
Pattern to match in YAML:
- uses: github/accessibility-scanner@v3
When a scanner workflow is found, extract its configuration:
| Input | Required | Description |
|---|---|---|
urls | Yes, unless url_configs is set | Newline-delimited list of URLs to scan |
url_configs | No | JSON array of per-URL configs (url, optional excludeSelectors and waitForSelectors); takes precedence over urls |
repository | Yes | Repository (owner/name) where issues and PRs are created |
token | Yes | Fine-grained PAT: actions, contents, issues and pull-requests write, metadata read. GITHUB_TOKEN does not work |
cache_key | Yes | Key for caching results across runs; characters A-Za-z0-9._/- |
login_url | No | Login page URL for authenticated scanning |
username | No | Username for authentication |
password | No | Password for authentication (via repository secret) |
auth_context | No | JSON with username, password, cookies and/or localStorage; overrides login_url, username, password |
skip_copilot_assignment | No | Set true to skip assigning issues to Copilot |
include_screenshots | No | Set true to capture screenshots (stored on gh-cache branch) |
group_by | No | finding (default), rule or rule+url; decides how many issues are filed |
scans | No | Scanners to run: axe (default), accesslint, or plugin names |
dry_run | No | Log what would be filed without touching issues or the cache |
The scanner creates GitHub Issues with a structured format. Agents should parse these fields:
Scanner-created issues can be identified by:
Scanner issues typically contain:
| Section | Content | Agent Use |
|---|---|---|
| Violation title | The axe-core rule that was violated | Map to kb-help-url-reference for remediation docs |
| WCAG criterion | The specific WCAG success criterion | Used for severity scoring and compliance mapping |
| Affected element | CSS selector or HTML snippet of the failing element | Used by scanner-bridge to map to source code |
| Impact level | Critical, Serious, Moderate, or Minor | Direct mapping to agent severity model |
| Remediation guidance | How to fix the issue | Enriched by agent specialists with framework-specific fixes |
| URL | The page URL where the issue was found | Used for cross-referencing with local axe-core scans |
| Screenshot link | Link to screenshot on gh-cache branch (if enabled) | Included in audit reports |
The scanner uses axe-core impact levels that map directly to the agent severity model. Weights are the ones in skills/a11y-core/scripts/merge-findings.mjs, multiplied by confidence (high 1, medium 0.7, low 0.4):
| Scanner Impact | Agent Severity | Score Weight |
|---|---|---|
| Critical | critical | 10 |
| Serious | serious | 5 |
| Moderate | moderate | 2 |
| Minor | minor | 1 |
The scanner uses axe-core under the hood. Scanner issue titles and violation IDs correspond to axe-core rules already cataloged in kb-help-url-reference. Common scanner-reported rules:
| axe-core Rule ID | WCAG Criterion | Common Description |
|---|---|---|
image-alt | 1.1.1 | Images must have alternate text |
label | 4.1.2 | Form elements must have labels |
color-contrast | 1.4.3 | Elements must have sufficient color contrast |
link-name | 2.4.4 | Links must have discernible text |
html-has-lang | 3.1.1 | <html> element must have a lang attribute |
button-name | 4.1.2 | Buttons must have discernible text |
document-title | 2.4.2 | Documents must have <title> element |
bypass | 2.4.1 | Page must have means to bypass repeated blocks |
heading-order | none (best-practice; relates to 1.3.1) | Heading levels should increase by one |
aria-allowed-attr | 4.1.2 | ARIA attributes must be allowed for element role |
The scanner uses a cache_key to persist results across workflow runs. This enables delta tracking:
| Status | Meaning |
|---|---|
| New | Issue found in current scan but not in cached results |
| Fixed | Issue in cached results but not found in current scan (issue auto-closed) |
| Persistent | Issue found in both current scan and cached results |
When setting up scanner integration, align the cache key with agent conventions:
cached_results-{domain}-{branch}.jsonWhen both the GitHub Accessibility Scanner (CI) and a local axe-core scan (agent) find the same issue:
color-contrast, image-alt)high confidenceEach scenario, with its interpretation and action.
| Scenario | Interpretation | Action |
|---|---|---|
| Found by scanner AND local scan | High confidence -- confirmed by both | Report as high confidence, full severity weight |
| Found by scanner only | Environment-specific or intermittent | Report as medium confidence, note "CI-only finding" |
| Found by local scan only | New since last CI scan, or local-only condition | Report as medium confidence, note "local-only finding" |
| In scanner cache as "fixed" | Recently remediated | Track in delta section as resolved |
When the scanner assigns issues to GitHub Copilot:
Each stage, with GitHub state and how to detect.
| Stage | GitHub State | How to Detect |
|---|---|---|
| Issue created | Open issue, assigned to Copilot | assignee includes Copilot bot |
| Fix proposed | Open PR linked to issue | PR references issue number, author is Copilot |
| Fix reviewed | PR has review comments | PR review state is CHANGES_REQUESTED or APPROVED |
| Fix merged | PR merged, issue closed | Issue state is closed, linked PR is merged |
| Fix rejected | PR closed without merge | PR state is closed, not merged |
If the GitHub CLI or GitHub tools are not available, ask the person to paste what you need, use only what you are given, and never say you scanned, ran or opened anything you did not.
# Find scanner issues assigned to Copilot
repo:{REPO} is:issue is:open assignee:copilot label:accessibility
# Find Copilot PRs from scanner issues
repo:{REPO} is:pr author:copilot-swe-agent label:accessibility
# Find merged scanner fixes
repo:{REPO} is:pr is:merged author:copilot-swe-agent label:accessibility
When scanner-bridge normalizes scanner issue data, each finding follows skills/a11y-core/schemas/findings.schema.json. The scanner issue, Copilot state and screenshot go in evidence:
{
"rule": "color-contrast",
"wcag": "1.4.3 AA",
"severity": "serious",
"confidence": "high",
"location": "https://example.com/login button.submit-btn",
"summary": "Element has insufficient color contrast ratio of 3.2:1 (expected 4.5:1)",
"fix": "Change the text color or background to achieve at least 4.5:1 contrast ratio",
"evidence": "github-a11y-scanner issue https://github.com/owner/repo/issues/42 (open, assigned to Copilot, no fix PR); screenshot on gh-cache branch: screenshots/login-contrast.png"
}
repo:{OWNER}/{REPO} is:issue label:accessibility created:>{YYYY-MM-DD}
Issues from a specific scan run share the same creation timestamp and batch pattern. Filter by:
user:{USERNAME} is:issue label:accessibility sort:created-desc
org:{ORGNAME} is:issue label:accessibility sort:created-desc
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub community-access/accessibility-agents --plugin accessibility-agents113 skills in this plugin
/a11y-coreShared contract for the Accessibility Agents skills - dispatch, findings schema, report rules. Read by skills, never dispatched on its own./a11y-tool-builderBuild accessibility scanners, rule engines, parsers and report generators./accessibility-leadWeb UI accessibility lead. Use before writing or changing HTML, JSX, TSX, Vue, Svelte, CSS or templates. Picks specialists and merges their findings.Other plugins' skills for the same job