skills/frontend/accessibility/SKILL.md
Web accessibility patterns and requirements (WCAG 2.1 AA). Use when building any user-facing UI.
npx skillsauth add devjarus/coding-agent accessibilityInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
alt="".prefers-reduced-motion: wrap animations in @media (prefers-reduced-motion: no-preference) or disable them via JS.<label> elements.lang attribute on <html> (e.g., <html lang="en">).<button> for actions, <a> for navigation. Never use <div onclick> or <span onclick>.role="dialog", aria-expanded, aria-checked).<button>: triggers an action (submit, open modal, toggle).<a href>: navigates to a new location or resource.aria-hidden="true" on background content while modal is open.<label> using matching for / id attributes.aria-required="true".aria-describedby.aria-live="polite" for dynamic content updates, toasts, and loading states.aria-live="assertive" only for critical, time-sensitive alerts.testing
Multi-source research method — decompose a question, fan out parallel investigators, interleaved-think each result, verify claims adversarially, synthesize a cited answer. Use for breadth-heavy research, stack comparisons, "which approach wins" questions.
testing
Decide when to use unit vs integration vs e2e tests, and when to mock vs use the real thing per dependency. Dependency injection is the enabler — without it you end up monkey-patching imports. Apply when writing tests of any kind.
development
Test-driven development process — write failing test, implement to pass, refactor. Use when implementing any feature or fixing bugs.
development
Patterns for sharing types, API contracts, and validation schemas between frontend and backend. Use when multiple domains consume the same data shapes to prevent contract drift.