Skip to content

design: two light-theme contrast pairs below AA in package v4 need a ruling #271

Done

Description

@avi-papineni

Design package v4 (proposed in #270) sets two light-theme values below WCAG AA. #270 applies them exactly as given and records them in docs/design/PACKAGE.md as open findings that need a ruling. They are not waived.

  • Light error text #e5484d (status-critical-fg) has 3.91:1 contrast on white. It is used for 12–13px status words such as "blocked", "Offline" and "Enforcement removed on host", where AA asks for 4.5:1.
  • White ink on the light destructive fill (destructive #e5484d) has 3.91:1 contrast. This affects the Revoke token confirm and the Retire workload confirm.
  • Light text 3 on the selected fill (#707372 on #f5f6f5) has 4.42:1 contrast. This affects captions inside a selected row or on a severity notice. On the ground it is 4.67:1.

Glyph shape plus word means status is never carried by colour alone, which limits the harm. These are still text pairs, though, and the light warning text is the only one the maintainer has waived (W2).

Options:

  • Rule a waiver for each, in the form of W2.
  • Or darken them. For example, an error text near #c4363b would clear 4.5:1 on white, and a destructive fill near #c93a30 (the dark theme's) would clear it with white ink.

Either way, the decision lands in docs/design/tokens.json, and tokens.css is regenerated from it.


Generated by Claude Code

Activity

  1. added a commit that references this issue on Nov 27, 2026
    ac9eb12
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