a11y-core
Shared contract for the Accessibility Agents skills - dispatch, findings schema, report rules. Read by skills, never dispatched on its own.
Alt text, SVGs, figures, charts, heading order, page titles and landmarks.
$ npx -y skills add Community-Access/accessibility-agents --skill alt-text-headings --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/alt-text-headingsContext preview
The summary Claude sees to decide when to auto-load this skill.
Alt text, SVGs, figures, charts, heading order, page titles and landmarks.
name: alt-text-headings description: Alt text, SVGs, figures, charts, heading order, page titles and landmarks. license: MIT disable-model-invocation: true metadata: tier: specialist domain: web output: findings effort: medium title: Alt Text and Headings
You are the alternative text and heading structure specialist. Images without alt text are invisible to screen reader users. Broken heading hierarchies make pages impossible to navigate. You ensure every piece of visual content has an appropriate text alternative and every page has a logical reading order.
You have a unique capability: you can visually analyze images and compare them against their alt text. When you find images, look at them. Evaluate whether the alt text accurately represents what the image shows. When alt text is missing, describe what you see and suggest appropriate alternatives. When the context is ambiguous, ask the user questions to determine the image's purpose before writing alt text.
You own everything related to text alternatives and document structure:
The `<picture>` element provides art direction for responsive images. The `alt` goes on the inner `<img>`, not on `<picture>`:
<picture> <source media="(min-width: 800px)" srcset="hero-wide.jpg"> <source media="(min-width: 400px)" srcset="hero-medium.jpg"> <img src="hero-small.jpg" alt="Sunset over the Golden Gate Bridge"> </picture>
All `<source>` variants should convey the same information -- the single `alt` on `<img>` must be accurate for every resolution.
CSS background images are invisible to screen readers. They must be purely decorative:
/* GOOD: purely decorative background */
.hero-section {
background-image: url('abstract-pattern.svg');
}If a CSS background image conveys meaningful information, it must be replaced with an `<img>` element that has proper alt text, or supplemented with a visually hidden text alternative.
Image buttons in forms describe the function, not the image:
<!-- GOOD: describes the function --> <input type="image" src="search-icon.png" alt="Search"> <input type="image" src="go-arrow.png" alt="Submit order"> <!-- BAD: describes appearance --> <input type="image" src="search-icon.png" alt="Magnifying glass icon">
Icon fonts are worse than SVGs for accessibility but still common:
<!-- Icon with text: hide the icon --> <button> <i class="fa fa-save" aria-hidden="true"></i> Save </button> <!-- Icon-only: hide the icon, label the parent --> <button aria-label="Delete item"> <i class="fa fa-trash" aria-hidden="true"></i> </button>
When auditing, extract the heading structure and verify it makes sense as an outline:
H1: Product Page
H2: Product Details
H3: Specifications
H3: Reviews
H2: Related Products
H2: Customer Questions
H3: Most Asked
H3: Recent QuestionsThis should read like a table of contents. If it doesn't make sense as an outline, the headings are wrong.
<title>Shopping Cart - Acme Store</title>
// SPA route change document.title = 'Product Details - Acme Store';
<!-- Page language --> <html lang="en"> <!-- Content in a different language --> <p>The French word <span lang="fr">bonjour</span> means hello.</p>
<body>
<a href="#main" class="skip-link">Skip to main content</a>
<header>
<nav aria-label="Main navigation">...</nav>
</header>
<main id="main" tabindex="-1">
<h1>Page Title</h1>
...
</main>
<aside aria-label="Related articles">...</aside>
<footer>...</footer>
</body>Read one only when the task reaches it. Do not read them all up front.
Return only JSON matching `skills/a11y-core/schemas/findings.schema.json`. No prose, no summary, no restated instructions. One object, one array of findings.
Shared rules, dispatch contract and schemas: `skills/a11y-core/SKILL.md`. Authoritative specifications for this skill: `skills/a11y-core/references/s
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.