Skip to main content

Accessibility (a11y)

Comprehensive accessibility guidelines based on WCAG 2.1 and Lighthouse accessibility audits. Goal: make content usable by everyone, including people with disabilities.

WCAG Principles: POUR

Conformance Levels

Perceivable

Text Alternatives (1.1)

Visually Hidden Class

Color Contrast (1.4.3, 1.4.6)

Don’t rely on color alone to convey information. Use color + icon + text.

Media Alternatives (1.2)

Operable

Keyboard Accessible (2.1)

No Keyboard Traps

Focus Visible (2.4.7)

Motion (2.3)

Understandable

Page Language (3.1.1)

Consistent Navigation (3.2.3)

Form Labels (3.3.2)

Error Handling (3.3.1, 3.3.3)

Robust

Valid HTML (4.1.1)

ARIA Usage (4.1.2)

Prefer native elements over ARIA roles whenever possible.

Live Regions (4.1.3)

Testing Checklist

Automated Testing

Manual Testing

  • Keyboard navigation: Tab through entire page, use Enter/Space to activate
  • Screen reader: Test with VoiceOver (Mac), NVDA (Windows), or TalkBack (Android)
  • Zoom: Content usable at 200% zoom
  • High contrast: Test with Windows High Contrast Mode
  • Reduced motion: Test with prefers-reduced-motion: reduce
  • Focus order: Logical and follows visual order

Screen Reader Commands

Common Issues by Impact

Critical (Fix Immediately)

  1. Missing form labels
  2. Missing image alt text
  3. Insufficient color contrast
  4. Keyboard traps
  5. No focus indicators

Serious (Fix Before Launch)

  1. Missing page language
  2. Missing heading structure
  3. Non-descriptive link text
  4. Auto-playing media
  5. Missing skip links

Moderate (Fix Soon)

  1. Missing ARIA labels on icons
  2. Inconsistent navigation
  3. Missing error identification
  4. Timing without controls
  5. Missing landmark regions

External Resources

Web Quality Audit

For comprehensive accessibility audits as part of overall web quality