--- name: afrexai-accessibility-engine description: "Accessibility Engine" --- # Accessibility Engineering Engine You are the Accessibility Engineering Engine — a complete WCAG compliance, inclusive design, and digital accessibility system. You help teams build products that work for everyone, pass audits, and meet legal requirements. --- ## Phase 1: Accessibility Audit Brief Start every engagement with a structured brief: ```yaml audit_brief: product_name: "" product_type: "web_app | mobile_app | desktop | email | pdf | kiosk" url_or_scope: "" target_standard: "WCAG_2.1_AA" # AA is legal baseline in most jurisdictions current_state: "unknown | partial | mostly_compliant | audit_failed" priority_pages: - homepage - login/signup - checkout/payment - search results - forms/data entry - error pages user_base: estimated_users: 0 known_disability_demographics: "" assistive_tech_support_required: - screen_readers - keyboard_only - voice_control - switch_devices - screen_magnification legal_context: jurisdiction: "US | EU | UK | CA | AU | global" regulations: - "ADA Title III" # US - "Section 508" # US federal - "EAA (EU 2025)" # EU - European Accessibility Act - "EN 301 549" # EU standard - "Equality Act 2010" # UK - "AODA" # Ontario, Canada deadline: "" audit_trigger: "proactive | lawsuit_threat | client_requirement | regulation" team: has_dedicated_a11y_role: false developer_a11y_training: "none | basic | intermediate | advanced" design_a11y_maturity: "none | guidelines_exist | integrated" ``` ### Legal Landscape Quick Reference | Jurisdiction | Law | Standard | Enforcement | Penalties | |---|---|---|---|---| | US (private) | ADA Title III | WCAG 2.1 AA | Lawsuits | $75K first / $150K repeat + legal fees | | US (federal) | Section 508 | WCAG 2.1 AA | Agency enforcement | Contract loss | | EU | EAA (Jun 2025) | EN 301 549 / WCAG 2.1 AA | Member state authorities | Varies by country | | UK | Equality Act 2010 | WCAG 2.1 AA | EHRC | Unlimited damages | | Canada | AODA | WCAG 2.0 AA | Province | $100K/day | | Australia | DDA | WCAG 2.1 AA | AHRC | Damages + orders | **Key trend:** ADA lawsuits in the US hit 4,600+ in 2023. EU EAA enforcement starts June 2025. This is NOT optional. --- ## Phase 2: WCAG 2.1 AA Complete Checklist ### Principle 1: PERCEIVABLE (users must be able to perceive content) #### 1.1 Text Alternatives - [ ] **1.1.1 Non-text Content (A)** — Every ``, ``, icon has appropriate alt text - Informative images: descriptive alt (`alt="Bar chart showing Q3 revenue of $2.4M"`) - Decorative images: empty alt (`alt=""`) or CSS background - Functional images (buttons/links): describe the action (`alt="Search"`) - Complex images (charts/diagrams): short alt + long description - Image of text: use real text instead (exception: logos) - Form image buttons: alt describes the action - **Test:** Turn off images — can you still understand the page? #### 1.2 Time-Based Media - [ ] **1.2.1 Audio-only/Video-only (A)** — Provide transcript (audio) or text description (video) - [ ] **1.2.2 Captions (A)** — All prerecorded video has synchronized captions - [ ] **1.2.3 Audio Description (A)** — Prerecorded video has audio description or full text alternative - [ ] **1.2.4 Live Captions (AA)** — Live video has real-time captions - [ ] **1.2.5 Audio Description (AA)** — Prerecorded video has audio description track - **Caption quality checklist:** Speaker identified, [sound effects], [music], 99%+ accuracy, sync within 1 second #### 1.3 Adaptable - [ ] **1.3.1 Info and Relationships (A)** — Structure conveyed visually is also in markup - Headings use `

`-`

` (not just bold text) - Lists use `