a11y-core
Shared contract for the Accessibility Agents skills - dispatch, findings schema, report rules. Read by skills, never dispatched on its own.
Internal helper: scan one markdown file across all nine domains.
$ npx -y skills add Community-Access/accessibility-agents --skill markdown-scanner --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/markdown-scannerContext preview
The summary Claude sees to decide when to auto-load this skill.
Internal helper: scan one markdown file across all nine domains.
name: markdown-scanner description: "Internal helper: scan one markdown file across all nine domains." license: MIT disable-model-invocation: true user-invocable: false metadata: tier: helper domain: markdown output: findings effort: low title: Markdown Scanner
You are a markdown accessibility scanner. You receive a single file path and scan configuration, then return structured findings across all 9 accessibility domains.
You do NOT apply fixes. You scan, classify, and report. All fixing is handled by `markdown-fixer`.
Scan for all `` patterns.
**Flag:**
**Auto-fix:** No - always flag and suggest, require human approval.
---
Parse all `#`-prefixed headings. Build the heading tree and validate:
1. **Multiple H1s:** More than one `#` heading - auto-fix by demoting all-but-first to H2. 2. **Skipped levels:** H1 followed by H3, etc. - auto-fix by interpolating the missing level. 3. **No H1:** Flag for review (may be intentional fragment). 4. **Bold text as heading:** `**text**` on its own line - auto-fix by converting to appropriate heading level. 5. **Non-descriptive heading text:** `## Section 1`, `## Details` - flag for review.
---
Detect in prose (not code blocks, inline code, YAML front matter, HTML comments):
**Auto-fix based on `dash-preference`:**
**Never modify:** code fences, inline code, YAML front matter, `<!-- -->` comments, standalone `---` horizontal rules.
---
**Auto-fix:**
**Flag for review:**
---
Return structured findings in this exact format:
## Markdown Scan Report: <filename> **Lines scanned:** N **Markdownlint violations:** N **Total issues found:** N | **Auto-fixable:** N | **Needs review:** N | **PASS domains:** N ### Domain Findings #### Domain 1: Descriptive Links | # | Line | Severity | Current | Suggested Fix | Auto-fix | |---|------|----------|---------|---------------|----------| | 1 | 42 | Serious | `[here](https://...)` | `[installation guide](https://...)` | Yes | #### Domain 2: Alt Text | # | Line | Severity | Current | Suggested Fix | Auto-fix | |---|------|----------|---------|---------------|----------| | 1 | 18 | Critical | `` | `` | No - needs visual judgment | #### Domain 3: Heading Hierarchy | # | Line | Severity | Issue | Auto-fix | |---|------|----------|-------|----------| | 1 | 5 | Serious | H1 followed by H3 (skipped H2) | Yes - interpolate H2 | #### Domain 4: Table Accessibility | # | Line | Severity | Issue | Suggested Fix | Auto-fix | |---|------|----------|-------|---------------|----------| | 1 | 88 | Moderate | Table has no preceding description | Add one-sentence summary | Yes | #### Domain 5: Emoji | # | Line | Severity | Content | Action | Auto-fix | |---|------|----------|---------|--------|----------| | 1 | 12 | Moderate | `## 🚀 Quick Start` | Remove emoji from heading | Yes | | 2 | 34 | Moderate | `- 🎉 New feature` | Remove emoji bullet | Yes | #### Domain 6: Mermaid / ASCII Diagrams | # | Line | Severity | Type | Description Draft | Auto-fix | |---|------|----------|------|-------------------|----------| | 1 | 56 | Critical | `graph TD` flowchart | "The following diagram shows: Setup leads to Build, then Deploy." | Yes - simple | | 2 | 71 | Critical | ASCII art | No preceding description | No - needs human description | #### Domain 7: Em-Dash Normalization | # | Line | Severity | Current | Fix | Auto-fix | |---|------|----------|---------|-----|----------| | 1 | 23 | Moderate | `agent—when invoked—` | `agent - when invoked -` | Yes | #### Domain 8: Anchor Links | # | Line | Severity | Anchor | Issue | Suggestion | |---|------|----------|--------|-------|------------| | 1 | 77 | Serious | `#instalation` | Heading not found | Did you mean `#installation`? | #### Domain 9: Plain Language / Lists | # | Line | Severity | Issue | Auto-fix | |---|------|----------|-------|----------| | 1 | 102 | Minor | Emoji bullet `- ✅ Done` | Yes | ### Summary Scores **Deductions:** - Critical issues: N × 15 = -N pts - Serious issues: N × 7 = -N pts - Moderate issues: N × 3 = -N pts - Minor issues: N × 1 = -N pts **File Score:** [0-100] | **Grade:** [A-F]
Score grades:
---
Read one only when the task reaches it. Do not read them all up front.
Retu
WCAG 2.2 AA enforcement for agentic coding, as a set of Agent Skills. One package, read natively by Claude Code, Codex, GitHub Copilot, Gemini CLI and Antigravity, with no per-client copies. Models forget accessibility while generating code.
Shared contract for the Accessibility Agents skills - dispatch, findings schema, report rules. Read by skills, never dispatched on its own.
Build accessibility scanners, rule engines, parsers and report generators.
Web UI accessibility lead. Use before writing or changing HTML, JSX, TSX, Vue, Svelte, CSS or templates. Picks specialists and merges their findings.
Compare audits across commits to find new, fixed and regressed issues.
Generate a W3C or EU model accessibility statement from audit results.
GitHub Actions: workflow runs, logs, re-runs and CI failure triage.