name: wcag-aa
description: WCAG 2.1 Level AA Accessibility Guidelines
category: quality
rules:
  - "All images must have descriptive alt text (or empty alt for decorative images)"
  - "Ensure color contrast ratio of at least 4.5:1 for normal text, 3:1 for large text"
  - "All interactive elements must be keyboard accessible with visible focus indicators"
  - "Form inputs must have associated labels — use htmlFor/id or aria-label"
  - "Use semantic HTML elements (nav, main, header, footer, article, section) for document structure"
  - "Provide skip navigation links for keyboard users"
  - "Ensure all content is readable and functional at 200% zoom"
  - "Use aria-live regions for dynamic content updates that should be announced to screen readers"
  - "Never use color alone to convey information — supplement with text, icons, or patterns"
  - "Provide text alternatives for all non-text content (video captions, audio transcripts)"
  - "Ensure touch targets are at least 44x44px on mobile"
  - "Support reduced-motion preferences via prefers-reduced-motion media query"
