react-accessibility-validator

react-accessibility-validator is a skill for Claude Code from smicolon/ai-kit. It costs 42 tokens per session (2,802 once invoked), scanned A, original, MIT.

An accessibility checker for React and Next.js interfaces based on WCAG 2.1 AA, a widely used standard for making websites usable by people with disabilities.

In plain words
What is it for?
Use it when building components, forms, buttons, dialogs, navigation, pages, and other interactive interface elements.
Why use it?
It helps catch problems with keyboard use, screen readers, focus, semantic HTML, contrast, and form feedback before users encounter them.

Skill for Claude Code

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

Part of the nextjs plugin — 3 skills shipped together

Good fit Use it when building components, forms, buttons, dialogs, navigation, pages, and other interactive interface elements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/smicolon/ai-kit/accessibility-validator
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 smicolon/ai-kit --skill accessibility-validator
Clone the repo
git clone --depth 1 https://github.com/smicolon/ai-kit

Made for: Claude Code.

Or install nextjs, the plugin that ships this one along with the rest of its 3 skills.

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 react-accessibility-validator

README.md
[![agentmods](https://agentmods.dev/badge/skills/smicolon/ai-kit/accessibility-validator/github.svg)](https://agentmods.dev/skills/smicolon/ai-kit/accessibility-validator)
Your own site
<a href="https://agentmods.dev/skills/smicolon/ai-kit/accessibility-validator"><img src="https://agentmods.dev/badge/skills/smicolon/ai-kit/accessibility-validator/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 react-accessibility-validator

Your own site · 80×15
<a href="https://agentmods.dev/skills/smicolon/ai-kit/accessibility-validator"><img src="https://agentmods.dev/badge/skills/smicolon/ai-kit/accessibility-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,802 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00042 $0.02802
Opus 5.5 $0.00017 $0.01121
Sonnet 5.5 $0.00008 $0.00560
Haiku 4.5 $0.00004 $0.00280

Measured 2mo ago against content hash 92c16e38729c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

react-accessibility-validator 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 2mo 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.

packs/nextjs/skills/accessibility-validator/SKILL.md · 461 lines

How it starts

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

Accessibility Validator

Auto-enforces WCAG 2.1 AA accessibility standards for all React/Next.js components.

Activation Triggers

This skill activates when:

  • Creating React/Next.js components
  • Building forms, buttons, modals, navigation
  • Adding interactive elements
  • Mentioning "component", "UI", "form", "button"
  • Creating pages or layouts
  • Working on user-facing features

WCAG 2.1 AA Requirements (MANDATORY)

All components MUST meet:

  • ✅ Keyboard navigation - All interactive elements focusable and usable via keyboard
  • ✅ Semantic HTML - Proper HTML elements and ARIA attributes
  • ✅ Color contrast - 4.5:1 for normal text, 3:1 for large text
  • ✅ Screen reader support - All content accessible to assistive technologies
  • ✅ Focus management - Visible focus indicators, logical tab order
  • ✅ Form accessibility - Labels, error announcements, help text

Auto-Validation Process

Step 1: Detect Component Creation

When detecting component being written:

// Component without accessibility
function LoginButton({ onClick }) {
  return <div onClick={onClick}>Login</div>  // ❌ Multiple issues!
}

Step 2: Run Accessibility Checklist

Verify:

  1. ❌ Using div instead of button (semantic HTML)
  2. ❌ No keyboard support (only onClick, no onKeyDown)
  3. ❌ Not focusable (div not in tab order)
  4. ❌ No ARIA attributes
  5. ❌ No focus styles

Step 3: Auto-Fix Violations

Before (Inaccessible):

function LoginButton({ onClick }) {
  return <div onClick={onClick}>Login</div>
}

After (Accessible):

function LoginButton({ onClick }) {
  return (
    <button
      onClick={onClick}
      type="button"
      className="px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2"
    >
      Login
    </button>
  )
}

Step 4: Explain Fixes

Accessibility Violations Fixed

Changes:

  1. ✅ Changed <div> to <button> (semantic HTML)
  2. ✅ Added type="button" (prevents form submission)
  3. ✅ Button is now keyboard accessible (Enter/Space keys work)
  4. ✅ Automatically focusable (in tab order)
  5. ✅ Added visible focus ring (focus:ring-2)

Why:

  • Buttons are natively accessible to keyboard and screen readers
  • Focus ring shows keyboard users where they are
  • Proper semantics help assistive technologies

Read the full file on GitHub · 461 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. 2mo ago First seen · 461 lines · 42 tokens per session scan A 92c16e38729c

Subscribe to this mod's changes

react-accessibility-validator is a skill published in the GitHub repository smicolon/ai-kit (7 stars, last pushed 2mo ago), licensed MIT. It adds 42 tokens to every session and 2,802 once invoked, about $0.0002 per session on Opus 5.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

react-accessibility-validator compared with skills from other repositories

react-accessibility-validator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
react-accessibility-validatorsmicolon/ai-kitSkill72mo agoMITA42Claude Code
panel-app-react-vite-creatorPeiiii/nextclawSkill266yesterdayMITA73Claude Code, Codex
frontend-code-reviewsangrokjung/claude-forgeSkill8862mo agoMITA42Claude Code
design-taste-frontendfigueroaignacio/ignaciofigueroa.devSkill7todayMITA228Claude Code, Codex
aio-xstateaiocean/claude-pluginsSkill44d agoMITA103Claude Code
claude-remotion-skillbest-of-ai/best-of-aiSkill790todaynoneA55Claude Code, Codex
readme-i18nfigueroaignacio/ignaciofigueroa.devSkill7todayMITA49Claude Code, Codex