Accessibility

From dean0x/devflow · View interactive version

Accessibility is an AI agent skill from the GitHub repository dean0x/devflow. This skill should be used when the user asks to "add accessibility", "check ARIA", "handle keyboard navigation", or creates UI components, forms, or interactive elements.

How to use this skill

Skill file

Accessibility Patterns

Reference for web accessibility (WCAG 2.2 AA compliance), keyboard navigation, screen reader support, and inclusive design. Sources in references/sources.md.

Iron Law

EVERY INTERACTION MUST BE POSSIBLE WITHOUT A MOUSE [1][3]

Mouse-only interactions exclude users with motor disabilities, power users, and AT users.

Tab order, focus management, and keyboard shortcuts are not optional enhancements.

— WCAG 2.1 Principle 2 (Operable) [1]

Keyboard Navigation

ARIA and Semantic HTML

Color and Contrast

| Element | Ratio | Level | SC |

|---------|-------|-------|----|

| Normal text (<18px) | 4.5:1 | AA | 1.4.3 |

| Large text (≥18px bold, ≥24px) | 3:1 | AA | 1.4.3 |

| UI components & focus indicators | 3:1 | AA | 1.4.11 |

| Focus appearance (WCAG 2.2 new) | 3:1 + ≥2px perimeter | AA | 2.4.11 |

Never convey meaning through color alone — pair with icon, text, or pattern (SC 1.4.1).

WCAG 2.2 new AA: 2.4.11 Focus Appearance (≥2px, 3:1 contrast) · 2.5.8 Target Size (≥24×24px) · 3.3.8 Accessible Auth (paste must work)

Forms and Errors

Motion and Cognitive

Extended References

See references/: sources.md (20 sources) · patterns.md (correct patterns) · violations.md (violation examples) · detection.md (grep patterns)

Severity

| Severity | Criteria |

|----------|----------|

| CRITICAL | No keyboard access · missing form labels · zero contrast |

| HIGH | Missing focus indicators · no skip links · color-only meaning |

| MEDIUM | Missing ARIA labels · poor focus order · small touch targets |

| LOW | Missing optional enhancements |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.