WCAG 2.1 AA Compliant Base Theme

Created on 2 March 2025, about 1 month ago

Problem/Motivation

Federal systems require WCAG 2.1 AA and Section 508 compliance. Drupal 11 needs an accessibility-first theme as part of the Secure Drupal recipe to ensure sites meet these standards without additional customization.

Steps to reproduce

  1. Install Drupal 11 with default theme
  2. Run accessibility tests (WAVE, Axe)
  3. Note common failures in contrast, ARIA, and keyboard navigation
  4. Document remediation steps required

Proposed resolution

Develop a Recipe-compatible WCAG 2.1 AA compliant theme:

  • USWDS design system implementation
  • Semantic HTML structure
  • Comprehensive ARIA support
  • Accessible color schemes
  • Keyboard navigation
  • Built-in accessibility testing

Remaining tasks

  1. Create base theme following USWDS guidelines
  2. Implement Recipe compatibility
  3. Build accessible component library
  4. Develop testing tools
  5. Create documentation

User interface changes

  • New accessible theme
  • Accessibility settings controls
  • Testing tools in theme configuration

API changes

  • Theme hook implementations
  • Accessibility testing APIs
  • Recipe theme integration

Data model changes

  • Accessibility configuration storage
  • User preference settings
🌱 Plan
Status

Needs work

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States flux423 Portland, Maine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024