You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: text contrast below WCAG AA on nav badge and secondary labels (both themes) #2201
Several recurring text treatments fall below WCAG AA contrast. The most systemic is the muted secondary-text token (gray-400 on white, 2.54:1), which appears on every page; the Operations 99+ nav badge is 2.80:1.
Context
Found during an exploratory E2E sweep of dev @ c1cc22bc. Ratios computed with proper sRGB linearization (an initial approximate scan was recalculated before reporting, so these numbers are the real ones).
Element
Ratio
AA small (4.5)
AA large (3.0)
99+ nav badge — white on orange-500
2.80
❌
❌
secondary text — gray-400 on white (v0.8.5, timestamps, Tags:, CPU)
2.54
❌
❌
AUTO badge — amber-600 on white
3.19
❌
✅
Running — green-600 on white
3.30
❌
✅
dark theme: Send — gray-500 on gray-700
2.13
❌
❌
Disabled controls (measuring 1.24) are exempt under WCAG and excluded from the list above.
Both themes otherwise render correctly and html.dark toggles as expected — this is a token-value problem, not a theming bug.
The AUTO / Running badges pass AA-large but are rendered at small badge sizes in practice, so they likely fail in situ.
Acceptance Criteria
Muted secondary text meets 4.5:1 against its surface in both light and dark themes
The 99+ Operations badge meets 4.5:1 (darken the orange, or use a dark-on-light treatment)
Status badges (AUTO, Running) meet 4.5:1 at the size they are actually rendered
Fixes are made at the semantic token level, not per-component overrides (design-system contract)
Both themes verified; the accent still reads correctly on both grounds
Consider a contrast check in the design-system tooling so regressions are caught mechanically
Technical Notes
Affected tokens are the muted/secondary ink ramp and the warning/orange badge surface
docs/memory/design-system.md (token taxonomy, dark ink ladder) and docs/memory/design-system-contract.md
Activity
dolho commentedon Sep 14, 2026
/claim
github-actions commentedon Sep 14, 2026
Claimed by @dolho. Label
status-in-progressadded.Next steps:
feature/2201-<short-slug>Fixes #2201fix(ui): raise text contrast to AA at the token tier, and ratchet the…
fix(ui): raise text contrast to AA at the token tier, and ratchet the…
fix(ui): raise text contrast to AA at the token tier, and ratchet the…
fix(ui): raise text contrast to AA at the token tier, and ratchet the…
fix(ui): raise text contrast to AA at the token tier, and ratchet the…
fix(ui): raise text contrast to AA at the token tier, and ratchet the…
fix(ui): raise text contrast to AA at the token tier, and ratchet the…
fix(ui): raise text contrast to AA at the token tier, and ratchet the…
fix(ui): raise text contrast to AA at the token tier, and ratchet the…