fixing-accessibility

fixing-accessibility is a command for Claude Code from kumaran-is/claude-code-onboarding. It costs 37 tokens per session (924 once invoked), scanned A, original, MIT.

An accessibility audit command for checking web or Flutter interface code against WCAG 2.1 AA, a widely used accessibility standard. It examines labels, keyboard use, focus behavior, colour contrast, and form errors, then reports targeted fixes.

In plain words
What is it for?
Use it to audit HTML, TypeScript, SCSS, or Dart files, or apply accessibility checks to later interface work in a session.
Why use it?
It helps reveal barriers that can prevent people with disabilities from using an interface.

Command for Claude Code

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/kumaran-is/claude-code-onboarding/fixing-accessibility
Clone the repo
git clone --depth 1 https://github.com/kumaran-is/claude-code-onboarding

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 fixing-accessibility

README.md
[![agentmods](https://agentmods.dev/badge/commands/kumaran-is/claude-code-onboarding/fixing-accessibility.svg)](https://agentmods.dev/commands/kumaran-is/claude-code-onboarding/fixing-accessibility)
Your own site
<a href="https://agentmods.dev/commands/kumaran-is/claude-code-onboarding/fixing-accessibility"><img src="https://agentmods.dev/badge/commands/kumaran-is/claude-code-onboarding/fixing-accessibility.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 924 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 $0.00037 $0.00924
Opus 5 $0.00018 $0.00462
Sonnet 5 $0.00007 $0.00185
Haiku 4.5 $0.00004 $0.00092

Measured yesterday against content hash 4f3dfd476c8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

fixing-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 yesterday.

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.

.claude/commands/fixing-accessibility.md · 96 lines

How it starts

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

/fixing-accessibility

Audit for accessibility violations and produce targeted, minimal fixes.

Usage

  • /fixing-accessibility — apply accessibility constraints to all UI work in this session
  • /fixing-accessibility <file> — audit the specified file and report violations with fixes

Process

1. Load Skill

Load the accessibility-audit skill to get platform-specific patterns and checklists.

2. Detect Stack

  • If argument is a *.dart file → Flutter audit (use flutter-mobile/reference/accessibility-audit-checklist.md)
  • If argument is a *.html, *.ts, or *.scss file → Angular audit (use angular-spa/reference/accessibility-checklist.md)
  • If no argument → session mode: apply constraints from both checklists to all subsequent UI work

3. File Audit Mode (/fixing-accessibility <file>)

Dispatch accessibility-auditor agent against the specified file.

For each violation found, report:

## Accessibility Audit: <file>

### Violations

| Priority | Rule | Line | Snippet | Fix |
|----------|------|------|---------|-----|
| CRITICAL | Accessible name missing | :42 | `<button><svg>...</svg></button>` | Add `aria-label="Close"` to button, `aria-hidden="true"` to SVG |
| HIGH     | aria-invalid not set | :87 | `<input id="email" />` | Add `aria-invalid="true"` and `aria-describedby="email-err"` |

### Summary
- Critical: N
- High: N
- Medium: N
- Low: N
- Status: PASS (0 violations) / FAIL (N violations)

4. Session Mode (/fixing-accessibility)

Apply these constraints to all UI work in this conversation:

Angular — enforce before writing any interactive element:

  • Every <button>, <a>, <input>, <select>, <textarea> must have an accessible name
  • Icon-only buttons: aria-label required, SVG gets aria-hidden="true"
  • Form errors: aria-describedby + aria-invalid="true" on the field
  • Modals: trap focus, restore on close, Escape dismisses
  • Dynamic content: aria-live for errors and status updates
  • No tabindex > 0
  • Touch targets: minimum 44x44px

Read the full file on GitHub · 96 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. yesterday First seen · 96 lines · 37 tokens per session scan A 4f3dfd476c8c

Subscribe to this mod's changes

fixing-accessibility is a command published in the GitHub repository kumaran-is/claude-code-onboarding (35 stars, last pushed 2mo ago), licensed MIT. It adds 37 tokens to every session and 924 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.