Skip to content

a11y: dark mode color contrast — #FCC03E on near-white backgrounds fails WCAG AA #439

@perasperaactual

Description

@perasperaactual

The dark theme uses #FCC03E (amber/yellow) for headings and sidebar links, but darkColors resolves to near-white backgrounds (#fdfdfd, #f5f5f5, #f6f6f6), producing contrast ratios of 1.51–1.61. WCAG AA requires 4.5:1 for normal text. Fix: darken the backgrounds in darkColors to values like #1a1a1a/#2a2a2a so the amber foreground reads correctly. Found in e2e run on PR #437.

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityWeb accessibility (WCAG, a11y)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions