Skip to content
OpenAgentsbeta
text
1# Accessibility Rules
2
3Agent-written UI tends to fail accessibility in the same handful of ways: a div with an
4onClick, an icon button with no name, focus styles removed for looking untidy, and ARIA
5attributes bolted onto markup that would have been fine without them. These rules
6target exactly those.
7
8## When to use
9
10- Any project where an agent writes or edits user interface code.
11- Before shipping a component that a keyboard or screen reader user will meet.
12- As the review standard for UI in a pull request.
13
14## Install
15
16```bash
17npx openagents-cli add openagents/accessibility-rules
18```
19
20| Runtime | Installed to |
21|---|---|
22| `claude-code` | `.claude/skills/accessibility-rules/` |
23| `cursor` | `.cursor/rules/accessibility-rules/` |
24| `codex` | `.codex/skills/accessibility-rules/` |
25| `generic` | `.openagents/accessibility-rules/` |
26
27## What is in the package
28
29- `RULES.md` - the rules, each with the barrier it removes.
30- `review-checklist.md` - a pass you can run in a browser in about five minutes.
31
32## License
33
34MIT
35

Keyboard shortcuts

Focus search
/
Go to Explore
ge
Go to Home
gh
Go to Tags
gt
Go to Collections
gc
Show this help
?
Close suggestions or this dialog
Esc