a11y-audit

a11y-audit is a command for Claude Code from ricneves-ai/flowgrammers-skills. It costs 43 tokens per session (738 once invoked), scanned A, original, MIT.

A frontend accessibility auditor scans code for issues against WCAG 2.2, the international guidance for making websites usable by people with disabilities. It reports problems, checks colour contrast, and can apply listed automatic fixes.

In plain words
What is it for?
Use it to audit a project or directory, group findings by severity, review affected files, and fix supported accessibility problems.
Why use it?
It helps find barriers such as missing image descriptions, poor keyboard behaviour, and insufficient colour contrast before users encounter them.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to audit a project or directory, group findings by severity, review affected files, and fix supported accessibility problems.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ricneves-ai/flowgrammers-skills/a11y-audit
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.

Clone the repo
git clone --depth 1 https://github.com/ricneves-ai/flowgrammers-skills

Made for: Claude Code.

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-audit

README.md
[![agentmods](https://agentmods.dev/badge/commands/ricneves-ai/flowgrammers-skills/a11y-audit/github.svg)](https://agentmods.dev/commands/ricneves-ai/flowgrammers-skills/a11y-audit)
Your own site
<a href="https://agentmods.dev/commands/ricneves-ai/flowgrammers-skills/a11y-audit"><img src="https://agentmods.dev/badge/commands/ricneves-ai/flowgrammers-skills/a11y-audit/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 a11y-audit

Your own site · 80×15
<a href="https://agentmods.dev/commands/ricneves-ai/flowgrammers-skills/a11y-audit"><img src="https://agentmods.dev/badge/commands/ricneves-ai/flowgrammers-skills/a11y-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 738 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.00043 $0.00738
Opus 5 $0.00022 $0.00369
Sonnet 5 $0.00009 $0.00148
Haiku 4.5 $0.00004 $0.00074

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

Security

Grade A, and why

a11y-audit 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 9d 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.

commands/a11y-audit.md · 85 lines

How it starts

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

/a11y-audit

Varre um projeto frontend em busca de problemas de acessibilidade WCAG 2.2, exibe correções e verifica contraste de cores.

Uso

/a11y-audit                     # Varre o projeto atual
/a11y-audit ./src               # Varre um diretório específico
/a11y-audit ./src --fix         # Varre e aplica correções automáticas

O que faz

Etapa 1: Varredura

Executa o scanner de acessibilidade no diretório alvo:

python3 {skill_path}/scripts/a11y_scanner.py {path} --json

Agrupa os achados por severidade (crítico → sério → moderado → leve).

Exibe um resumo:

Auditoria A11y: ./src
  Crítico: 3 | Sério: 7 | Moderado: 12 | Leve: 5
  Arquivos varridos: 42 | Arquivos com problemas: 15

Etapa 2: Correção

Para cada achado (começando pelos críticos):

  1. Lê o arquivo afetado
  2. Exibe a violação com contexto (antes)
  3. Aplica a correção de references/framework-a11y-patterns.md
  4. Exibe o resultado (depois)

Correções automáticas (aplicadas sem perguntar):

  • alt="" ausente em imagens decorativas
  • Atributo lang ausente no <html>
  • Valores de tabindex > 0 → definidos como 0
  • type="button" ausente em botões não-submit
  • Remoção de outline sem substituto → adiciona estilos :focus-visible

Problemas que exigem decisão do usuário (exibe a correção e pergunta):

  • Texto alternativo ausente (requer descrição do usuário)
  • Labels de formulário ausentes (requer texto do label)
  • Reestruturação de headings (pode afetar layout)
  • Alterações de papel ARIA (pode afetar funcionalidade)

Etapa 3: Verificação de Contraste

Se houver arquivos CSS, executa o verificador de contraste:

python3 {skill_path}/scripts/contrast_checker.py --batch {path}

Para cada par de cores com falha, sugere alternativas acessíveis.

Etapa 4: Relatório

Gera um relatório markdown em a11y-report.md:

  • Resumo executivo (aprovado/reprovado, contagem de problemas)
  • Achados por arquivo com diffs antes/depois
  • Itens pendentes de revisão manual
  • Cobertura de critérios WCAG

Read the full file on GitHub · 85 lines

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. 9d ago First seen · 85 lines · 0 tokens per session scan A 9a5eb1a0f627

Subscribe to this mod's changes

a11y-audit is a command published in the GitHub repository ricneves-ai/flowgrammers-skills (112 stars, last pushed 3mo ago), licensed MIT. It adds 43 tokens to every session and 738 once invoked, about $0.0002 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-09-03.