Skip to main content
rule CX Codex

accessibility · plugin87 — Claude Code rule: what it does, how to install

Checks interactive elements against core accessibility requirements. Use it during UI audits or when completing a component.

MIT ★ 3,216 updated 2026-10-20

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add plugin87/ux-ui-agent-skills
/plugin install ux-ui-agent-skills@ux-ui-agent-skills
Open on GitHub

What accessibility does

The rule is loaded for audits and when an interactive element is being finished. It asks the agent to check keyboard access, visible focus, screen-reader announcements for name, role, and state, text and UI contrast, target dimensions, and whether meaning is conveyed through color alone.

It also covers selected WCAG 2.2 criteria: sticky headers must not hide focused content, touch targets must reach 24×24px, and authentication must avoid cognitive tests while allowing password managers. Supporting references include accessibility/wcag-checklist.md, accessibility/aria-patterns.md, and related files. An interactive element that cannot be used from the keyboard fails a mandatory check.

What it helps with

  • audit an interactive component for accessibility
  • catch missing visible focus states
  • check text and UI contrast
  • verify touch-target dimensions
  • find color-only status or meaning

Example prompts for the agent

  • Audit this component with the accessibility rule.
  • Review the interactive elements for keyboard access, focus visibility, and contrast issues.
  • Before finishing this UI component, apply the WCAG 2.2 checks and inspect accessibility/.

How to install accessibility

1Plugin marketplace

/plugin marketplace add plugin87/ux-ui-agent-skills
/plugin install ux-ui-agent-skills@ux-ui-agent-skills

2Manually: put the files in place

.claude/rules/accessibility.md

The paths frontmatter field limits the files

Step by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use

Questions about accessibility

How do I install accessibility in Claude Code?

Run /plugin marketplace add plugin87/ux-ui-agent-skills, then /plugin install ux-ui-agent-skills@ux-ui-agent-skills, and add the rule at .claude/rules/accessibility.md.

What does the accessibility rule do?

It guides checks for keyboard use, visible focus, screen-reader output, contrast, target size, and information that is communicated through color alone.

Which WCAG 2.2 requirements does accessibility cover?

It checks for obscured focus under sticky headers, touch targets of at least 24×24px, and authentication that avoids cognitive tests while allowing password managers.

Source text

accessibility.md · MIT
# Rule: Accessibility standards

Loaded when auditing, or when finishing any interactive element.

Split out of `CLAUDE.md` so it loads only when the work calls for it. The
headings below are unchanged, so any pointer to them still resolves.

---

## Accessibility Standards

### Mandatory Checks (P0, Every Component)
1. Keyboard navigable: Tab reaches it, Enter/Space activates it
2. Focus visible: Focus ring meets 3:1 contrast
3. Screen reader: Announces name, role, state
4. Color contrast: 4.5:1 text, 3:1 UI
5. Target size: ≥ 24×24px
6. No color-only: Information not conveyed by color alone

### WCAG 2.2 New Criteria (Prioritize)
- **2.4.11 Focus Not Obscured**: Sticky headers must not cover focused elements
- **2.5.8 Target Size**: All touch targets ≥ 24×24px
- **3.3.8 Accessible Authentication**: No cognitive function tests; allow password managers

### Implementation Reference
- Full checklist: `accessibility/wcag-checklist.md`
- ARIA patterns for 19 components: `accessibility/aria-patterns.md`
- Cognitive accessibility (load, plain language, memory, dyslexia, reduced-data): `accessibility/cognitive.md`
- Internationalization & RTL (logical properties, mirroring, text expansion): `accessibility/i18n-rtl.md`
- Vision (color blindness, low vision, high-contrast / forced-colors): `accessibility/vision.md`
- AAA upgrade delta (when targeting the highest support level): `accessibility/wcag-aaa.md`

© Thientan Soparat · MIT · plugin87/ux-ui-agent-skills

Similar IDE rules

All IDE rules for Frontend and UI →

accessibility by other authors comes first.

accessibility maxtrigify accessibility is a Claude Code rule that enforces accessible frontend patterns. It triggers when generating UI components, dialogs, and navigation menus. CX Codex +1 ★ 141repo stars better-accessibility jakubkrehel better-accessibility is a Claude Code skill that audits and fixes keyboard navigation, focus handling, forms, and ARIA markup against WCAG 2.2 standards. CX Codex +1 39,300installs fixing-accessibility ibelick The fixing-accessibility skill audits HTML accessibility and suggests focused fixes. Use it when building forms, dialogs, interactive controls, or checking WCAG issues. CX Codex +1 24,300installs accessibility-compliance Seth Hobson accessibility-compliance is a Claude Code skill that implements WCAG 2.2 compliant interfaces. Use it when auditing accessibility or adding ARIA patterns to components. CX Codex +1 14,596installs pixijs-accessibility pixijs pixijs-accessibility configures screen readers and keyboard navigation in PixiJS v8 apps by rendering a shadow DOM overlay. CX Codex +1 6,700installs event-accessibility-inclusion Samuel Berthe event-accessibility-inclusion helps organizers set accessibility commitments for a technical event, publish them, and assign ownership. Use it while planning provisions or handling an attendee’s accommodation request. CX Codex +1 6,600installs ios-accessibility dpearson2699 ios-accessibility guides accessibility reviews and code adjustments for Apple user interfaces. Helps configure screen reader flows, font scaling, and assistive focus states across devices. CX Codex +1 5,400installs

From the same set35

The whole set →
performance This Claude Code skill guides UI performance work against Core Web Vitals. It activates for slow interactions, animation jank, layout shifts, and loading problems. CX Codex +1 562installs token-build Claude Code skill for running design token build pipelines. Converts DTCG JSON tokens into web styles, iOS catalogs, and Android themes. CX Codex +1 555installs figma-integration The figma-integration Claude Code skill connects a project’s tokens and components with Figma, syncing in either direction and checking for design-code drift. It activates for token sync, design extraction, or component parity checks. CX Codex +1 554installs governance governance — a skill for Claude Code and Codex that enforces design system evolution rules, SemVer token versioning, and component deprecation workflows. CX Codex +1 549installs observe observe — a skill for Claude Code that checks local hook events to see if the agent followed UX/UI kit rules in recent sessions. Runs manually on user request. CX Codex +1 ★ 3,216repo stars frameworks frameworks directs Claude Code to generate production UI code for React with Tailwind v4, Next.js 15, and SwiftUI 6 without placeholders. CX Codex +1 ★ 3,216repo stars ship ship — a skill for Claude Code runs pre-release checks and drafts a release checklist. It starts before a release tag, checking the project before preparing version and changelog details. CX Codex +1 ★ 3,216repo stars gate Skill for Claude Code runs a UI quality gate before marking tasks complete. You trigger the command manually, preventing the model from calling it autonomously. CX Codex +1 ★ 3,216repo stars

More in the catalog

Project sponsors

Companies that keep this analytics open