Skip to content

The light-theme link colour sits just under WCAG AA #51

Description

@realmarcin

Noticed while fixing the dark-theme hover bug in #50, and sharpened by its review. The light palette's --accent is #C25E12, and it falls short of the 4.5:1 WCAG AA asks for body text on every surface the site puts links on: 4.28:1 on the card, 4.00:1 on the page background, and 3.80:1 on --wash-b, which is what the heatmap cell panel's record list and the unfilled pills sit on. Links were already at those ratios at rest; #50 holds the same colour on hover and visited rather than letting Minima override it, so the exposure is unchanged but now consistent. The dark theme is comfortable at 8.4 to 9.3:1. Darkening the light accent, for example to around #A94F0E, would clear 4.5:1 on all three surfaces; it is used for links, h3 headings and the active nav pill, so check all three.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions