Skip to content

bug: text contrast below WCAG AA on nav badge and secondary labels (both themes) #2201

Closed

Description

@vybe

Summary

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

Activity

  1. added
    priority-p3
    type-bug
    theme-ui-ux
    complexity-medium
    status-ready
    on Aug 15, 2026
  2. dolho commented on Sep 14, 2026

    @dolho
    Contributor

    /claim

  3. added
    status-in-progress
    on Sep 14, 2026
  4. github-actions commented on Sep 14, 2026

    @github-actions

    Claimed by @dolho. Label status-in-progress added.

    Next steps:

    1. Create branch: feature/2201-<short-slug>
    2. Implement the feature
    3. Open a PR with Fixes #2201
  5. removed
    status-ready
    on Sep 14, 2026
  6. added
    status-in-dev
    and removed
    status-in-progress
    on Sep 22, 2026
  7. removed
    status-in-dev
    on Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

complexity-mediumpriority-p3theme-ui-uxtype-bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions