AHG 2026: Accessibility Agents

Scanner Bridge reference: Capabilities

In the kit: .github/skills/scanner-bridge/references/capabilities.md.

Copy it into ChatGPT or another assistant

Read the plain text first

Scanner Bridge reference: Capabilities

Part of the scanner-bridge skill. Read this only when the task reaches these sections.

Capabilities

1. Detect Scanner Configuration

Search the repository for workflow files that reference github/accessibility-scanner:

  1. Look for .github/workflows/*.yml files containing github/accessibility-scanner@v
  2. If found, extract the scanner configuration:
    • urls -- the list of URLs being scanned
    • repository -- the target repo for issues and PRs
    • cache_key -- the cache key for delta detection
    • skip_copilot_assignment -- whether Copilot is enabled
    • include_screenshots -- whether screenshots are captured
  3. Record the detection result as a notes entry in the findings payload, for example:
Scanner workflow: .github/workflows/a11y-scan.yml, URLs: https://example.com, https://example.com/login, target repo owner/repo, cache key cached_results-example.json, Copilot assignment on, screenshots off

If no scanner workflow is found, return an empty findings array with the note "GitHub Accessibility Scanner not configured".

2. Fetch Scanner Issues

Query the target repository for issues created by the scanner:

  1. Search for open scanner issues:

    repo:{REPO} is:issue is:open label:accessibility
  2. Search for recently closed scanner issues (remediated):

    repo:{REPO} is:issue is:closed label:accessibility closed:>{30_DAYS_AGO}
  3. For each issue, extract:

    • Issue number and URL
    • Title (typically the axe-core rule description)
    • Body content (violation details, affected element, WCAG criterion)
    • Labels (severity, category)
    • Assignees (check for Copilot assignment)
    • Linked PRs (Copilot fix proposals)
    • State (open, closed)
    • Creation date

3. Normalize Findings

Convert scanner issue data into a finding that matches skills/a11y-core/schemas/findings.schema.json:

{
  "rule": "{axe-core-rule-id}",
  "wcag": "{criterion} {A|AA}, or n/a for best-practice rules",
  "severity": "{critical|serious|moderate|minor}",
  "location": "{scanned-url} {css-selector}",
  "summary": "{violation-description}",
  "fix": "{fix-guidance}",
  "evidence": "Issue #{number} ({issue-url}), {open|closed}, Copilot assigned: {yes|no}, fix PR: {number or none}"
}

Take wcag from the rule's tags in axe-core, not from the issue title. Do not use 4.1.1 Parsing: it is obsolete and removed in WCAG 2.2, and the axe-core rules tagged with it (duplicate-id, duplicate-id-active) are deprecated.

Parse the issue body to extract axe-core rule IDs, WCAG criteria, affected elements, and impact levels. Map impact levels to the agent severity model:

Scanner Impact Agent Severity
Critical critical
Serious serious
Moderate moderate
Minor minor

4. Deduplicate Against Local Scans

When both scanner data and a local axe-core scan exist, merge findings:

  1. Match by rule ID + URL: If both sources report the same axe-core rule on the same URL, it is a single finding.
  2. Boost confidence: Matched findings receive high confidence. Unmatched findings receive medium confidence.
  3. Tag source: Each finding is tagged with its source:
    • "both" -- found by scanner AND local scan
    • "scanner-only" -- found by scanner but not local scan
    • "local-only" -- found by local scan but not scanner
  4. Preserve GitHub context: For scanner-sourced findings, retain the issue number and URL so the audit report can link directly to the tracked issue.

5. Track Copilot Fix Status

For scanner issues assigned to Copilot:

  1. Check if a linked PR exists (search for PRs referencing the issue number)
  2. Check PR state: open, merged, or closed without merge
  3. Return fix status:
Status Meaning
pending Issue assigned to Copilot, no PR yet
pr-open Copilot has proposed a fix (PR open)
pr-approved Copilot PR has been approved
fixed Copilot PR merged, issue closed
rejected Copilot PR closed without merge
unassigned Issue not assigned to Copilot

6. Generate Scanner Summary

Produce a summary for inclusion in the audit report:

## GitHub Accessibility Scanner Integration

| Metric | Value |
|--------|-------|
| Scanner configured | Yes |
| Workflow file | `.github/workflows/a11y-scan.yml` |
| URLs scanned (CI) | 4 |
| Open scanner issues | 12 |
| Recently closed (30d) | 5 |
| Copilot fixes pending | 3 |
| Copilot fixes merged | 2 |

### Scanner Issue Correlation

| Finding | Scanner Issue | Local Scan | Confidence | Copilot Status |
|---------|-------------|------------|------------|---------------|
| Missing alt text on /home | [#42](url) | Confirmed | High | PR open |
| Low contrast on /login | [#43](url) | Not found locally | Medium | Pending |
| No skip link | Not tracked | Found locally | Medium | -- |

### Delta Since Last CI Scan

- **New issues:** 3 (found in latest scan, not in cache)
- **Fixed issues:** 2 (in cache but not in latest scan)
- **Persistent issues:** 7 (found in both scans)