a11y-scan

a11y-scan is a command for Claude Code from rohitg00/awesome-claude-code-toolkit. It costs 18 tokens per session (475 once invoked), scanned A, original, Apache-2.0.

An accessibility checker for web pages and UI components, using WCAG rules to find problems that can make software harder to use. It checks areas such as keyboard access, screen-reader support, forms, focus, contrast, and headings.

In plain words
What is it for?
Use it to review a component, page, or whole web project for issues such as missing image descriptions, form labels, keyboard support, focus handling, error messages, and announcements for changing content.
Why use it?
It helps find accessibility barriers before users encounter them. Each finding includes its WCAG level, severity, and a suggested fix.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the accessibility-checker plugin — 2 commands shipped together

About the project

Awesome Claude Code Toolkit is a curated collection of extensions and configuration for Claude Code, including agents, skills, commands, plugins, hooks, rules, templates, MCP configurations, and companion apps. It is for Claude Code users who want ready-made workflows and integrations for different development tasks. The catalogue add-ons are selected components from this toolkit.

rohitg00/awesome-claude-code-toolkit · 2,587 stars · on GitHub

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.

agentmods
npx agentmods add commands/rohitg00/awesome-claude-code-toolkit/a11y-scan
Clone the repo
git clone --depth 1 https://github.com/rohitg00/awesome-claude-code-toolkit

Made for: Claude Code.

Or install accessibility-checker, the plugin that ships this one along with the rest of its 2 commands.

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 a11y-scan

README.md
[![agentmods](https://agentmods.dev/badge/commands/rohitg00/awesome-claude-code-toolkit/a11y-scan.svg)](https://agentmods.dev/commands/rohitg00/awesome-claude-code-toolkit/a11y-scan)
Your own site
<a href="https://agentmods.dev/commands/rohitg00/awesome-claude-code-toolkit/a11y-scan"><img src="https://agentmods.dev/badge/commands/rohitg00/awesome-claude-code-toolkit/a11y-scan.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 475 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00018 $0.00475
Opus 5 $0.00009 $0.00237
Sonnet 5 $0.00004 $0.00095
Haiku 4.5 $0.00002 $0.00047

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

Security

Grade A, and why

a11y-scan 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 6d 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.

plugins/accessibility-checker/commands/a11y-scan.md · 54 lines

What it actually says

Scan web application components for accessibility violations against WCAG guidelines.

Steps

  1. Identify the target: component file, page, or entire project.
  2. Scan for common WCAG 2.1 violations:
    • Perceivable: Images without alt text, videos without captions, low color contrast.
    • Operable: Non-keyboard-accessible elements, missing focus indicators, no skip links.
    • Understandable: Missing form labels, no error descriptions, inconsistent navigation.
    • Robust: Invalid HTML, missing ARIA roles, incorrect heading hierarchy.
  3. Check component-level issues:
    • Interactive elements (buttons, links) without accessible names.
    • Custom components missing ARIA roles and states.
    • Dynamic content updates without live region announcements.
    • Modal dialogs without focus trapping.
  4. Check form accessibility:
    • Labels associated with inputs via htmlFor/id or wrapping.
    • Error messages linked to inputs via aria-describedby.
    • Required fields marked with aria-required.
  5. Classify findings by WCAG level (A, AA, AAA) and severity.
  6. Provide specific fix instructions for each violation.

Format

Accessibility Scan: <scope>

Violations: <N> (A: <n>, AA: <n>, AAA: <n>)

WCAG A (must fix):
  - <file>:<line> - <element> missing alt text (1.1.1)
  - <file>:<line> - <element> not keyboard accessible (2.1.1)

WCAG AA (should fix):
  - <file>:<line> - contrast ratio 3.2:1, needs 4.5:1 (1.4.3)

Passing:
  - Heading hierarchy is correct
  - Language attribute is set

Rules

  • Prioritize WCAG A violations (legal compliance baseline).
  • Provide the specific WCAG criterion number for each violation.
  • Include fix code snippets, not just descriptions.
  • Check both static HTML/JSX and dynamically generated content.
  • Test with screen reader considerations (not just automated rules).
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. 6d ago First seen · 54 lines · 18 tokens per session scan A 09f82456df5c

Subscribe to this mod's changes

a11y-scan is a command published in the GitHub repository rohitg00/awesome-claude-code-toolkit (2,587 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 18 tokens to every session and 475 once invoked, about $0.0001 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-30.