import Link from 'next/link'; import { Contrast, Eye, Palette } from 'lucide-react'; export default function AccessibilityPage() { const tools = [ { title: 'Contrast Checker', description: 'Test color combinations for WCAG 2.1 AA and AAA compliance', href: '/accessibility/contrast', icon: Contrast, features: ['WCAG 2.1 standards', 'AA/AAA ratings', 'Live preview'], }, { title: 'Color Blindness Simulator', description: 'Simulate how colors appear with different types of color blindness', href: '/accessibility/colorblind', icon: Eye, features: ['Protanopia', 'Deuteranopia', 'Tritanopia'], }, { title: 'Text Color Optimizer', description: 'Find the best text color for any background automatically', href: '/accessibility/textcolor', icon: Palette, features: ['Automatic optimization', 'WCAG guaranteed', 'Light/dark options'], }, ]; return (

Accessibility Tools

Ensure your colors are accessible to everyone

{tools.map((tool) => { const Icon = tool.icon; return (

{tool.title}

{tool.description}

    {tool.features.map((feature) => (
  • {feature}
  • ))}
); })}
{/* Educational Content */}

About WCAG 2.1

The Web Content Accessibility Guidelines (WCAG) 2.1 provide standards for making web content more accessible to people with disabilities.

Level AA (Minimum)

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

Level AAA (Enhanced)

  • • Normal text: 7:1 contrast ratio
  • • Large text: 4.5:1 contrast ratio
); }