Skip to content

fix: color contrast violations (WCAG AA) #274

@tomasz-tomczyk

Description

@tomasz-tomczyk

The new axe-core accessibility test found 74 elements with insufficient color contrast (WCAG AA standard).

Currently excluded from the test via disableRules(['color-contrast']) in e2e/tests/accessibility.spec.ts.

What to do

  1. Run npx playwright test tests/accessibility.spec.ts with color-contrast re-enabled
  2. Review the failing elements — likely gutter numbers, muted text, badge labels, and subtle UI elements
  3. Adjust CSS custom properties in theme.css to meet 4.5:1 contrast ratio for text, 3:1 for large text/UI components
  4. Remove the disableRules exclusion once all violations are fixed

Context

Found during quality guardrails setup (#273). These are pre-existing issues, not regressions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions