Skip to main content
Creating accessible websites ensures everyone can use your content, regardless of abilities. Follow these guidelines.

Why Accessibility Matters

  • Reaches wider audience
  • Legal compliance (ADA, WCAG)
  • Better SEO
  • Improved user experience for all

Color and Contrast

Contrast Ratios

Minimum requirements:
  • Normal text: 4.5:1 contrast ratio
  • Large text: 3:1 contrast ratio
  • UI components: 3:1 contrast ratio

Color Usage

  • Don’t rely on color alone to convey information
  • Use patterns or labels alongside colors
  • Test with color blindness simulators

Text and Typography

Readable Text

  • Minimum 16px font size for body text
  • Sufficient line height (1.5+)
  • Avoid justified text alignment
  • Use clear, readable fonts

Headings

  • Use proper heading hierarchy (H1 → H2 → H3)
  • Don’t skip heading levels
  • Make headings descriptive

Images and Media

Alt Text

Provide meaningful descriptions:
  • Describe the image content
  • Include relevant information
  • Keep it concise (125 characters)
  • Use empty alt="" for decorative images

Videos

  • Include captions
  • Provide transcripts
  • Avoid autoplay with sound

Keyboard Access

  • All interactive elements keyboard accessible
  • Visible focus indicators
  • Logical tab order
  • Skip navigation links
  • Descriptive link text (not “click here”)
  • Distinguish links from regular text
  • Indicate external links

Forms

Labels

  • Every input needs a label
  • Labels should be visible
  • Associate labels with inputs

Error Messages

  • Clear error descriptions
  • Identify which field has error
  • Provide correction suggestions

Testing Accessibility

Manual Testing

  • Navigate with keyboard only
  • Use screen reader
  • Test with zoom at 200%
  • Check color contrast

Automated Tools

  • WAVE browser extension
  • axe DevTools
  • Lighthouse accessibility audit

Lindo.ai Accessibility Features

The AI generates accessible code by default:
  • Semantic HTML structure
  • Alt text prompts for images
  • Proper heading hierarchy
  • Keyboard-accessible components

Continuous Improvement

  • Test with real users
  • Gather feedback
  • Update regularly
  • Stay informed on guidelines
Note: While Lindo.ai follows accessibility best practices, full WCAG compliance requires manual testing with assistive technologies and expert review.