accessibility-engineering
Skill2 starsChanged 6 months agoMITView on GitHub
Build UIs that work for all users including keyboard navigation, screen readers, and WCAG 2.2
In this repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-orchestrationSkill
- ai-ml-engineeringSkill
- api-and-interface-designSkill
- architecture-designSkill
- backend-engineeringSkill
- ci-cd-and-automationSkill
- code-review-and-qualitySkill
- code-simplificationSkill
- context-engineeringSkill
- database-designSkill
- data-pipeline-engineeringSkill
- debugging-and-error-recoverySkill
- deployment-strategySkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- frontend-engineeringSkill
- git-workflow-and-versioningSkill
- idea-refineSkill
- incident-responseSkill
- incremental-implementationSkill
- infrastructure-as-codeSkill
- llm-evaluationSkill
- microservices-designSkill
- mobile-developmentSkill
- observability-and-monitoringSkill
- performance-optimizationSkill
- planning-and-task-breakdownSkill
- prompt-engineeringSkill
- rag-system-designSkill
- requirements-analysisSkill
- risk-assessmentSkill
- security-and-hardeningSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- test-driven-developmentSkill
- using-agent-skillsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 12 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Before implementing any UI component
- Distinctive: line 15
Before any UI is marked complete
- Distinctive: line 21
Use the right HTML elements before reaching for ARIA:
- Distinctive: line 31
Every interactive element must be:
- Distinctive: line 36
Not trapped in a dead end (modals must trap focus.
- Distinctive: line 38
Test: complete the key user journeys using only the keyboard.
- Distinctive: line 41
Test with at least one screen reader:
- Distinctive: line 46
Verify: can a screen reader user complete the same tasks as a sighted user?
- Distinctive: line 50
Do not convey information by color alone (use icons, patterns, text)
- Distinctive: line 51
Test in grayscale mode
- Very specific: line 60
All meaningful images have descriptive alt text
- Distinctive: line 67
No flashing content above 3Hz (seizure risk)
- Distinctive: line 71
Run axe-core, Lighthouse, or WAVE on every page.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Overview
Accessibility is not a checklist - it is a commitment to not excluding users. 1 in 4 adults has some form of disability. Inaccessible software is defective software. This skill bakes accessibility in during development, not as a retrofit.
When to Use
- Before implementing any UI component
- Before any UI is marked complete
- As part of the
/reviewworkflow for frontend changes
Process
Step 1: Semantic HTML first
Use the right HTML elements before reaching for ARIA:
- Buttons for actions (
<button>), links for navigation (<a href>) - Headings for document structure (
<h1>–<h6>in correct order) - Lists for lists (
<ul>,<ol>) - Form labels associated with inputs (
<label for>) - Landmark regions (
<nav>,<main>,<header>,<footer>,<aside>)
ARIA only when native semantics are insufficient.
Step 2: Keyboard navigation
Every interactive element must be:
- Reachable by Tab
- Activatable by Enter/Space
- Part of a logical tab order
- Visually focused (
:focus-visiblestyle) - Not trapped in a dead end (modals must trap focus; must release on close)
Test: complete the key user journeys using only the keyboard.
Step 3: Screen reader testing
Test with at least one screen reader:
- VoiceOver (macOS/iOS) + Safari
- NVDA or JAWS (Windows) + Chrome
- TalkBack (Android)
Verify: can a screen reader user complete the same tasks as a sighted user?
Step 4: Color and contrast
- Text contrast ratio: ≥ 4.5:1 for normal text, ≥ 3:1 for large text (WCAG AA)
- Do not convey information by color alone (use icons, patterns, text)
- Test in grayscale mode
Step 5: Dynamic content
- Announce dynamic updates with
aria-liveregions - Focus management after navigation (move focus to new content)
- Loading states must be communicated to screen readers
- Errors must be associated with their form fields
Step 6: Images and media
- All meaningful images have descriptive
alttext - Decorative images have
alt="" - Videos have captions and transcripts
- Audio content has transcripts
Step 7: Motion and animation
- Respect
prefers-reduced-motion - No flashing content above 3Hz (seizure risk)
- Animation should not distract or interfere with content
Step 8: Automated testing
Run axe-core, Lighthouse, or WAVE on every page. Automate in CI. These catch ~30–40% of accessibility issues.
Verification Requirements
- Semantic HTML used (not
<div>for everything) - All user journeys completable by keyboard only
- Tested with a screen reader
- Color contrast ratios meet WCAG AA
- Dynamic updates announced
- All images have appropriate alt text
- Reduced motion respected
- Automated accessibility tests pass in CI
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.

