accessibility-implementation
Skill0 starsChanged 5 months agoApache-2.0View on GitHub
Implement accessible UI — semantic HTML, keyboard behavior,
In this repository128 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-reviewSkill
- api-changelogSkill
- api-designSkill
- auth-designSkill
- caching-strategiesSkill
- chaos-experiment-designSkill
- ci-cd-pipelinesSkill
- cli-designSkill
- cloudformation-reviewSkill
- codebase-orientationSkill
- code-commentsSkill
- code-reviewSkill
- commit-messagesSkill
- container-reviewSkill
- database-indexingSkill
- database-migrationsSkill
- debuggingSkill
- dependency-upgradesSkill
- design-system-contributionSkill
- design-tokensSkill
- desktop-releaseSkill
- error-handlingSkill
- feature-flagsSkill
- finops-reviewSkill
- frontend-performanceSkill
- git-conflict-resolutionSkill
- graphql-schema-designSkill
- helm-chart-scaffoldingSkill
- i18n-reviewSkill
- kubernetes-reviewSkill
- load-test-planningSkill
- logging-observabilitySkill
- message-queue-designSkill
- migration-playbooksSkill
- mobile-releaseSkill
- multi-region-active-activeSkill
- observability-alertsSkill
- openapi-spec-designSkill
- partner-api-integrationSkill
- performance-reviewSkill
- pr-descriptionsSkill
- prompt-injection-hardeningSkill
- pulumi-reviewSkill
- rate-limitingSkill
- refactor-planningSkill
- secrets-managementSkill
- security-reviewSkill
- sql-query-reviewSkill
- terraform-reviewSkill
- test-generationSkill
- threat-modelingSkill
- webhook-designSkill
- websocket-designSkill
- ab-test-analysisSkill
- anomaly-detectionSkill
- cost-anomaly-investigationSkill
- csv-analysisSkill
- data-cleaningSkill
- data-contract-designSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Test notes: keyboard path and one screen-reader smoke.
- Very specific: line 67
Do not add role="button" to a real <button>.
- Distinctive: line 74
Do not invent WCAG clause numbers.
- Very specific: line 78
Review request: if they only want findings, point at accessibility-review and still offer the fix markup if they pasted broken code.
- Distinctive: line 85
SSR / hydration: do not flash a non-keyboard version first.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Accessibility Implementation
Ship markup a keyboard and a screen reader can use. Prefer native elements. ARIA is a last resort that you must keep in sync with state.
To audit an existing UI, use accessibility-review. Design-system
API work is design-system-contribution.
Workflow
- Name the widget and the equivalent native control (button, dialog, tabs, combobox, table).
- Structure: heading/landmark/list/label first; role only if no native.
- Keyboard map: Tab/Shift+Tab, Enter/Space, Escape, arrows if a composite. No trap except a modal that restores focus on close.
- Name, role, value: visible label,
aria-expanded/aria-selectedonly when the role requires them, and they must match JS state. - Focus: visible ring, logical order, initial focus in dialogs, return focus to the opener.
- Motion and contrast:
prefers-reduced-motion, do not convey meaning by color alone. - Test notes: keyboard path and one screen-reader smoke.
Output format
## A11y implementation: <widget>
**Native first:** …
### Markup
```html
<!-- minimal correct structure -->Keyboard
| Key | Behavior |
State / ARIA
what is synced, what is not used
Focus
open / move / close
Do not
…
## Rules
1. `<div onclick>` is not a button. Use `<button type="button">`.
2. Do not add `role="button"` to a real `<button>`.
3. `aria-label` loses to a visible `<label>` when both exist and
disagree — make them the same, or drop the aria.
4. Modals: focus in, inert/aria-modal the rest, Escape + close button,
restore focus.
5. Live regions only for *new* status the user did not just type.
6. Icon-only controls need an accessible name.
7. Do not invent WCAG clause numbers. Describe the user path.
## Edge cases
- **Review request:** if they only want findings, point at
`accessibility-review` and still offer the fix markup if they
pasted broken code.
- **Custom select / combobox:** this is hard; implement a known
pattern (listbox + input) rather than inventing one.
- **Canvas / chart:** provide a text summary or data table, not
ARIA on every pixel.
- **SSR / hydration:** do not flash a non-keyboard version first.
---Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

