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
/plugin marketplace add plugin87/ux-ui-agent-skills
/plugin install ux-ui-agent-skills@ux-ui-agent-skillsWhat 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-skills2Manually: put the files in place
.claude/rules/accessibility.mdThe paths frontmatter field limits the files
AGENTS.md
Codex reads AGENTS.md: paste the rule text there
Manually: put the files in place
.cursor/rules/accessibility.mdcFrontmatter: description, globs, alwaysApply
Manually: put the files in place
.github/instructions/accessibility.instructions.mdThe applyTo field sets which files it applies to
Manually: put the files in place
.devin/rules/accessibility.mdManually: put the files in place
.clinerules/accessibility.mdStep 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.