wcag-accessibility

wcag-accessibility is a skill for Claude Code, Codex from salawi45/skill-wcag-accessibility. It costs 145 tokens per session (3,363 once invoked), scanned A, original, MIT.

A tool for checking or building web interfaces against WCAG 2.2 Level AA, accessibility rules that help people with disabilities use websites and apps.

In plain words
What is it for?
Use it while creating or changing interfaces, or when auditing them, to review semantic HTML, accessibility requirements, and structured issues.
Why use it?
It helps find structural and interaction problems that can make a page difficult or impossible to use with assistive technology or different input methods.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it while creating or changing interfaces, or when auditing them, to review semantic HTML, accessibility requirements, and structured issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/salawi45/skill-wcag-accessibility/wcag-accessibility
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add salawi45/skill-wcag-accessibility --skill wcag-accessibility
Clone the repo
git clone --depth 1 https://github.com/salawi45/skill-wcag-accessibility

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for wcag-accessibility

README.md
[![agentmods](https://agentmods.dev/badge/skills/salawi45/skill-wcag-accessibility/wcag-accessibility/github.svg)](https://agentmods.dev/skills/salawi45/skill-wcag-accessibility/wcag-accessibility)
Your own site
<a href="https://agentmods.dev/skills/salawi45/skill-wcag-accessibility/wcag-accessibility"><img src="https://agentmods.dev/badge/skills/salawi45/skill-wcag-accessibility/wcag-accessibility/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for wcag-accessibility

Your own site · 80×15
<a href="https://agentmods.dev/skills/salawi45/skill-wcag-accessibility/wcag-accessibility"><img src="https://agentmods.dev/badge/skills/salawi45/skill-wcag-accessibility/wcag-accessibility.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,363 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00145 $0.03363
Opus 5 $0.00072 $0.01682
Sonnet 5 $0.00029 $0.00673
Haiku 4.5 $0.00015 $0.00336

Measured 10d ago against content hash acdb14cb1617, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

wcag-accessibility scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

wcag-accessibility/SKILL.md · 288 lines

How it starts

The opening of the file, as written. The whole thing — 288 lines — stays where its author put it; the contents beside it link to each section on GitHub.

WCAG Accessibility Skill

Engineering standard: WCAG 2.2 Level AA (always). Legal layer: Optional, jurisdiction-specific. Applied on top of the technical standard — never mixed into it.

This skill has four modes. Detect mode from context; switch fluidly mid-conversation.

Mode When to use
Mode 1 — Component Advisor Building or modifying any UI component, page, or layout
Mode 2 — Test Runner PR review, CI pipeline, or explicit audit request
Mode 3 — Issue Reporter Formatting findings from either mode as structured issue records
Mode 4 — Jurisdiction Advisor User asks about legal requirements, compliance scope, or jurisdiction mapping

Most build tasks use Mode 1 → Mode 3. Most audit tasks use Mode 2 → Mode 3. Mode 4 is additive — layer it on when legal context is present.


Mode 1: Component Advisor

Use when creating or modifying any frontend component, page, or layout.

Guiding Principle

Accessibility is structural, not cosmetic. Semantic HTML done right covers ~70% of WCAG compliance before any ARIA is needed. Work through the checklist below in order.

Build Checklist

1. Semantic Structure
  • Use the right element: <button> for actions, <a> for navigation, <nav> <main> <header> <footer> <section> <article> for landmarks
  • Never make a <div> or <span> interactive without role + tabindex
  • Headings h1h6 form a logical outline — never skip levels
  • WCAG: 1.3.1, 4.1.2
2. Keyboard Navigation
  • All interactive elements reachable and operable via keyboard alone
  • Tab order matches visual reading order
  • No keyboard traps — modals must trap focus intentionally but release on Escape
  • Provide a skip link: <a href="#main-content" class="skip-link">Skip to main content</a>
  • Custom widgets (dropdowns, tabs, date pickers, dialogs) must follow APG patterns — see references/aria-patterns.md
  • WCAG: 2.1.1, 2.1.2, 2.4.1, 2.4.3
3. Focus Management
  • Visible focus indicator: minimum 3:1 contrast ratio against adjacent color, non-zero area
  • Never outline: none without a replacement that meets contrast
  • Modal opens → move focus inside; modal closes → return focus to trigger
  • SPA route changes → move focus to page <h1> or skip link
  • WCAG: 2.4.7, 2.4.11, 3.2.1

Read the full file on GitHub · 288 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 288 lines · 145 tokens per session scan A acdb14cb1617

Subscribe to this mod's changes

wcag-accessibility is a skill published in the GitHub repository salawi45/skill-wcag-accessibility (1 stars, last pushed 5mo ago), licensed MIT. It adds 145 tokens to every session and 3,363 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

accessibility

Use when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast, tap-target size. NOT palette or visual intent (that is design), NOT test-runner setup (that is testing-web), NOT LCP/page-speed (that is…

ericrisco/rsc-harness · 86 tokens

Accessibility Audit Helper

Reviews UI code and components for WCAG 2.1 accessibility violations and provides specific fixes.

Notysoty/openagentskills · 23 tokens

wcag-accessibility

Use when building UI components, reviewing color contrast, adding ARIA attributes, handling keyboard navigation, writing alt text, creating forms, or ensuring WCAG 2.2 AA compliance. Covers color contrast ratios, semantic HTML, focus management, screen reader support, motion preferences, and accessibility auditing.

LeahyCC/claude-skills · 64 tokens

accessibility-engineer

You are the Accessibility Engineering Specialist. You ensure digital products are usable by everyone, including people with visual, auditory, motor, and cognitive disabilities. You audit against WCAG 2.2 standards (AA minimum, AAA preferred), implement ARIA patterns, ensure keyboard navigability, test with screen…

buiphucminhtam/forgewright · 61 tokens

wes-bos-sick-picks

Research-first workflow for building frontend UI components (any framework), in the spirit of Wes Bos. Use when designing or implementing a UI component, layout, interaction, or CSS/HTML feature and you want a modern, accessible, best-practice solution rather than a first guess. Researches pitfalls and platform…

boserup/wes-bos-sick-picks · 140 tokens

a11y-dialog

Guides accessible modal and non-modal dialog implementation. Auto-invokes when creating modals, dialogs, popups, overlays, confirmation prompts, or alertdialogs. Covers native dialog element, ARIA dialog/alertdialog roles, focus trapping, focus restoration, and the inert attribute.

xrnavigation/web-a11y-plugin · 62 tokens