Skip to content

visual-spec §8: inverse-on-accent misses its own 4.5:1 floor in light mode (Lagoon, Atelier) #22

Description

@Weegy

§8 requires text.inverse on accent ≥ 4.5:1. Programmatic WCAG 2.2 check of the §2.5 token values (relative-luminance contrast):

Palette Mode text.inverse on accent Floor Result
Lagoon #1F8FA3 light 3.71 4.5
Atelier #B36B2E light 4.05 4.5
Petrol #0F7AB8 light 4.56 4.5
all three dark 6.6–8.4 4.5

All other §8 floors pass (text.primary ≥ 7, text.secondary ≥ 4.5, accent-on-canvas ≥ 3). The §8 Lume note about glow-core-blended backgrounds also fails formally in dark mode for all palettes at full coverage (2.86–3.59) — implementations avoid it by construction (donut rule §3.3, glow only in shadows), but the spec may want to state that placement constraint normatively.

Suggested fix: darken the light-mode accent base of Lagoon (≈ L 0.52) and Atelier (≈ L 0.53), or relax the floor to AA-large for button-sized semibold text. Found while implementing byte5ai/omadia#282 (PR byte5ai/omadia#284); per the §10 implementation contract this needs a spec amendment rather than a renderer-side divergence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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