accessibility-react
React-specific accessibility skill for WCAG 2.1 AA compliance, keyboard navigation, ARIA patterns, focus management, meaningful empty and error states…
Skill by caraya
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/caraya-accessibility-react
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/accessibility-react
What's inside
- Skill name
accessibility-react- Description
- React-specific accessibility skill for WCAG 2.1 AA compliance, keyboard navigation, ARIA patterns, focus management, meaningful empty and error states, responsive design, and loading transitions. Trigger phrases: React accessibility, React ARIA, focus refs, JSX accessibility, accessible components.
- License
- MIT
- Instructions
- 88 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: references/accessible-component-generation.md
Files (1)
- SKILL.md
SKILL.md (first lines)
# Accessibility React
The Accessibility React skill adapts core accessibility guidance for React applications. It covers WCAG 2.2 AA compliance, keyboard navigation, ARIA usage in JSX, focus management with refs, accessible component patterns, and handling empty/error/loading states in React UIs.
## Features
- **Keyboard Navigation**: Ensure all interactive components are keyboard accessible using React event handlers and tabIndex.
- **ARIA in JSX**: Use ARIA attributes in JSX (`aria-label`, `aria-live`, etc.) for screen reader compatibility.
- **Focus Management**: Manage focus using React refs and effects, especially for modals, dialogs, and dynamic content.
- **Meaningful Empty and Error States**: Render clear empty/error states using React conditional rendering.
- **Responsive Design**: Use CSS-in-JS or class-based responsive patterns for React components.
- **Loading Transitions**: Show loading indicators and transitions using React state.
## Description
This skill provides React-specific best practices for building accessible UIs. It ensures your React app is inclusive, meets WCAG 2.2 AA, and leverages React idioms for accessibility.
## When To Use
- Building new React components or apps.
- Refactoring for accessibility in React codebases.
- Ensuring React UIs meet WCAG 2.2 AA.
## Shared Reference
When generating or scaffolding components, use `references/accessible-component-generation.md` as the source of truth for semantics, accessible names, keyboard behavior, focus handling, and non-happy-path states. Apply the React addendum in that reference for framework-specific patterns.
## Guidelines
### Keyboard Navigation
- [ ] All interactive elements (`button`, `input`, custom components) are focusable via Tab
- [ ] Use `tabIndex={0}` for custom focusable elements
- [ ] Focus order matches DOM/visual order
- [ ] Focus ring is visible (use :focus-visible or custom styles)
- [ ] Custom widgets support keyboard events (Enter, Space, Escape)
- [ ] No keyboard traps (user can always Tab away)
- [ ] Modals/dialogs trap focus while open, return focus on close (see `focus-trap-react`)
### Screen Readers
- [ ] All images use `alt` prop (`<img alt="..." />`)
- [ ] All form fields have `<label htmlFor=...>` or `aria-label`
- [ ] Buttons/links have descriptive text (not "Click here")
- [ ] Icon-only buttons use `aria-label`
- [ ] One `<h1>` per page, headings in order
- [ ] Dynamic content changes use `aria-live` regions
- [ ] Tables use `<th scope=...>`
### Visual
- [ ] Text contrast ≥ 4.5:1 (normal) or ≥ 3:1 (large)
- [ ] UI elements contrast ≥ 3:1
- [ ] Color is not the only indicator
- [ ] Text resizable to 200% without breaking layout
- [ ] No flashing content >3 times/sec
### Forms
- [ ] Every input has a visible label
- [ ] Required fields indicated (not by color alone)
- [ ] Error messages specific and associated with the field
- [ ] Error state visible by more than color (icon, text, border)
- [ ] Form errors summarized and focusable
### Content
- [ ] `lang` attribute set on `<html>`
- [ ] Page has descriptive `<title>`
- [ ] Links distinguishable (not by color alone)
- [ ] Touch targets ≥ 44x44px
- [ ] Empty states are meaningful
## Component Generation Guidance
For component scaffolding rules and anti-patterns, follow `references/accessible-component-generation.md`, including its React addendum.
## References
- [React Accessibility Docs](https://react.dev/learn/accessibility)
- [Deque: Accessible React Components](https://www.deque.com/blog/accessible-react-components/)
- [focus-trap-react](https://github.com/focus-trap/focus-trap-react)
- [Web Content Accessibility Guidelines (WCAG) 2.2](https://www.w3.org/TR/WCAG22/)
- [ARIA Authoring Practices Guide](https://www.w3.org/TR/wai-aria-practices/)
- When using APG, use content from these areas:
- "About This Interaction" sections
- "Keyboard Interaction" sections
- Do not use:
- APG code examples
- CodePen links (URLs starting with `https://codepen.io/`)
- [React Accessibility Tools and Patterns](https://fe.engineer/handbook/accessibility/tools-and-patterns). Supplemental guidance for React-specific accessibility patterns. Treat WCAG and APG as the authoritative sources.From caraya/agent-skills, MIT.
More from caraya/agent-skills
- 0.592score
design-system
caraya
Organise and maintain a consistent design system through contracts, discovery, reuse and verification.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
dev
caraya
Development workflows for the playwright-cli repository.
SkillAFreshness: A★ 1Claude Code +9 - 0.497score
delivery-self-paced
caraya
Instructional design patterns for self-paced developer education: motivation maintenance, progress tracking, chunking for independent study, asynchronous…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
delivery-classroom
caraya
Instructional design patterns for synchronous classroom delivery of developer education: lecture + live coding, pacing, group dynamics, real-time feedback…
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
debugging-pedagogy
caraya
Explicit debugging instruction for developers: five-stage framework, hypothesis testing, tools, and common error patterns.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
delivery-workshop
caraya
Instructional design patterns for hands-on developer workshops: intensive practice, collaborative problem-solving, peer learning, facilitated labs, and…
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
debugging-methodology
caraya
General debugging skill for investigative workflow, error interpretation, and common debugging patterns across languages.
SkillCFreshness: C★ 1Claude Code +9 - 0.490score
accessibility-core
caraya
Accessibility skill for WCAG 2.1 AA compliance, keyboard navigation, ARIA labels, focus management, meaningful empty and error states, responsive design, and…
SkillCFreshness: C★ 1Claude Code +9 - 0.429score
go-formatting
caraya
Go formatting skill for gofmt, goimports, and IDE configuration.
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
devrel-integration
caraya
Integrating instructional design with developer relations: developer journey, segmentation, DDMU, and community learning pathways.
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
evaluation-iteration
caraya
Evaluation approaches and iterative development for learning products: pilot plans, SAM cycles, Kirkpatrick, and friction logging.
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
go-core
caraya
Go skill for API design, interface boundaries, concurrency safety, and idiomatic error handling.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 15, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/caraya/agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from caraya
- 0.592score
design-system
caraya
Organise and maintain a consistent design system through contracts, discovery, reuse and verification.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
dev
caraya
Development workflows for the playwright-cli repository.
SkillAFreshness: A★ 1Claude Code +9 - 0.497score
delivery-classroom
caraya
Instructional design patterns for synchronous classroom delivery of developer education: lecture + live coding, pacing, group dynamics, real-time feedback…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
delivery-self-paced
caraya
Instructional design patterns for self-paced developer education: motivation maintenance, progress tracking, chunking for independent study, asynchronous…
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
debugging-methodology
caraya
General debugging skill for investigative workflow, error interpretation, and common debugging patterns across languages.
SkillCFreshness: C★ 1Claude Code +9 - 0.494score
debugging-pedagogy
caraya
Explicit debugging instruction for developers: five-stage framework, hypothesis testing, tools, and common error patterns.
SkillCFreshness: C★ 1Claude Code +9
Cite this page
accessibility-react skill. Agent Mart. https://agentmart.dev/skills/caraya-accessibility-react (last updated 2026-10-24)