Skip to content
SprecherEast
Issue 216

bug: Category pills, event date eyebrows and a footer line are under 4.5:1

Back to our plan
Done
bugfrontendstylinguxpriority: medium

Type

bug

Problem

axe finds text under WCAG AA's 4.5:1 in code the Button and Link work (#211, #212) didn't touch. Found by the independent review of #212 on 2026-10-22:

  • Category pills (categoryPillClassName in src/utilities/ui.ts): text-primary on bg-primary/10, 4.46:1 light, 4.38:1 dark.
  • Event date eyebrows (text-primary on bg-surface): 4.33:1 in light theme.
  • A faded footer line (text-muted-foreground/70): 3.81:1.

Proposed fix

Use the --primary-strong token #212 adds (#2e5e47 light, #5fb88e dark; 6.4:1 or better on every surface) for the pills and eyebrows, ideally while moving them onto Badge and Text · overline from the approved component set. Drop the /70 on the footer line.

Acceptance criteria

  • Not done: axe on /, /events, /posts and an event page reports no contrast failures in either theme.

Area

frontend, styling, ux

Priority

priority: medium


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab