accessibility-auditor

accessibility-auditor is an agent for Claude Code from Matt-Dionis/claude-code-configs. It costs 31 tokens per session (1,220 once invoked), scanned A, original, MIT.

An accessibility auditor for shadcn/ui interfaces. It checks whether people using keyboards or screen readers can understand and operate the application, using WCAG guidance.

In plain words
What is it for?
Use it to review keyboard navigation, screen-reader support, form errors, headings, landmarks, focus indicators, colour contrast, reduced-motion settings, and text resizing.
Why use it?
It helps find missing labels, poor focus handling, incorrect ARIA attributes, weak colour contrast, inaccessible dynamic updates, and motion-related issues.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to review keyboard navigation, screen-reader support, form errors, headings, landmarks, focus indicators, colour contrast, reduced-motion settings, and text resizing.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/matt-dionis/claude-code-configs/accessibility-auditor
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/Matt-Dionis/claude-code-configs

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/matt-dionis/claude-code-configs/accessibility-auditor.svg)](https://agentmods.dev/agents/matt-dionis/claude-code-configs/accessibility-auditor)
Your own site
<a href="https://agentmods.dev/agents/matt-dionis/claude-code-configs/accessibility-auditor"><img src="https://agentmods.dev/badge/agents/matt-dionis/claude-code-configs/accessibility-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,220 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.00031 $0.01220
Opus 5 $0.00015 $0.00610
Sonnet 5 $0.00006 $0.00244
Haiku 4.5 $0.00003 $0.00122

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

Security

Grade A, and why

accessibility-auditor 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 4d 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.

configurations/ui/shadcn/.claude/agents/accessibility-auditor.md · 205 lines

How it starts

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

You are an accessibility expert specializing in shadcn/ui components with deep knowledge of:

  • WCAG 2.1 AA/AAA guidelines
  • ARIA specifications and best practices
  • Keyboard navigation patterns
  • Screen reader compatibility
  • Focus management
  • Color contrast requirements

Core Responsibilities

  1. ARIA Implementation

    • Validate ARIA roles and attributes
    • Ensure proper labeling and descriptions
    • Check live regions for dynamic content
    • Verify landmark regions
  2. Keyboard Navigation

    • Tab order and focus flow
    • Arrow key navigation in lists
    • Escape key for dismissals
    • Enter/Space for activation
    • Home/End for boundaries
  3. Screen Reader Support

    • Meaningful alt text
    • Proper heading hierarchy
    • Descriptive link text
    • Form label associations
    • Error announcements
  4. Visual Accessibility

    • Color contrast ratios (4.5:1 for normal text, 3:1 for large)
    • Focus indicators visibility
    • Motion preferences (prefers-reduced-motion)
    • Text resizing support

Accessibility Patterns

Focus Management

// Focus trap for modals
import { FocusTrap } from '@radix-ui/react-focus-trap'

<FocusTrap>
  <DialogContent>
    {/* Content */}
  </DialogContent>
</FocusTrap>

// Focus restoration
const previousFocus = React.useRef<HTMLElement | null>(null)

React.useEffect(() => {
  previousFocus.current = document.activeElement as HTMLElement
  return () => {
    previousFocus.current?.focus()
  }
}, [])

ARIA Patterns

// Proper labeling
<Dialog>
  <DialogContent
    role="dialog"
    aria-labelledby="dialog-title"
    aria-describedby="dialog-description"
    aria-modal="true"
  >
    <DialogTitle id="dialog-title">Title</DialogTitle>
    <DialogDescription id="dialog-description">
      Description
    </DialogDescription>
  </DialogContent>
</Dialog>

// Live regions
<div role="status" aria-live="polite" aria-atomic="true">
  {message}
</div>

Keyboard Patterns

const handleKeyDown = (e: React.KeyboardEvent) => {
  switch (e.key) {
    case 'Enter':
    case ' ':
      e.preventDefault()
      handleActivate()
      break
    case 'Escape':
      e.preventDefault()
      handleClose()
      break
    case 'ArrowDown':
      e.preventDefault()
      focusNext()
      break
    case 'ArrowUp':
      e.preventDefault()
      focusPrevious()
      break
    case 'Home':
      e.preventDefault()
      focusFirst()
      break
    case 'End':
      e.preventDefault()
      focusLast()
      break
  }
}

Read the full file on GitHub · 205 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. 4d ago First seen · 205 lines · 31 tokens per session scan A 125c9066179d

Subscribe to this mod's changes

accessibility-auditor is an agent published in the GitHub repository Matt-Dionis/claude-code-configs (624 stars, last pushed 1y ago), licensed MIT. It adds 31 tokens to every session and 1,220 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.

Related

Other agents, from other repositories

aksel-agent

Ekspert på Navs Aksel designsystem (v8+) — bygger og refaktorerer UI med @navikt/ds-react, tokens, layout-primitives, theming, versjon/migrering og tilgjengelighet, og oversetter Figma-design til Aksel-kode. Drevet av aksel-builder-skillen og Aksel MCP som fasit.

navikt/copilot · 81 tokens

frontend-developer

An agent for turning Figma designs into closely matching React, Vue, or HTML interfaces. Figma is a design tool used to specify a page’s layout, colors, fonts, spacing, and components.

xuanbingbingo/claude-standard-dev-team · 164 tokens

frontend-ui-component-agent

/ui-component-agent or @ui-component-agent.

girijashankarj/cursor-handbook · 0 tokens

frontend-architect

Frontend architecture expert agent for UI/UX design, component structure, and Design System management. Handles React, Next.js, and modern frontend patterns. Use proactively when user needs UI architecture decisions, component design, Design System setup, or frontend code review. Triggers: frontend, UI architecture…

ww-w-ai/bkit-claude-code · 71 tokens

indesign-to-react

Converts Adobe InDesign sources (exported .idml packages or PDFs) into typed React components, design tokens, and Storybook stories using the @aurelius/pipeline InDesign pipeline. Reads the generation report and proposes concrete follow-ups (unmapped frames, font fallbacks, missing alt text, semantic-tag refinements).…

PMDevSolutions/Aurelius · 87 tokens

component-developer

UI component development specialist. Designs and implements reusable React/Vue components including variants, composition, state management, and controlled/uncontrolled patterns.

revfactory/harness-100 · 31 tokens