Description
Re-frame accessibility finding F-014 in docs/a11y.html. It currently states green --brand (#629460) on white = 3.54:1, failing AA for text. As of v1.5, --brand is cobalt (#2F4BA6, ~8:1), so the brand portion is resolved. The same low-contrast-green-as-text concern, however, has transferred to the new --success token.
Why
The finding as written is now misleading: it warns about a --brand contrast problem that no longer exists, while the real residual risk (green text on light surfaces) silently moved to --success. Example: .chip-ok text uses color: var(--success) (green-500) on a 10% tint — still ~3.5:1. The guidance needs to point at the right token so it stays actionable.
Recommended prerequisite
None.
Scope
Documentation/wording only in docs/a11y.html: mark the brand half of F-014 resolved (cite the cobalt value + ratio), and re-scope the green-text rule to --success — use --success-dark for any text role; reserve bare --success for non-text use (dots, borders, fills). No token or component code changes.
Touches
Source
Ad hoc — flagged during the v1.5 green→cobalt migration (2026-06-14 session) as a deliberately deferred step-3 item.
Owner
Lindsay (design-system owner / sole coder).
Acceptance criteria
Description
Re-frame accessibility finding F-014 in
docs/a11y.html. It currently states green--brand(#629460) on white = 3.54:1, failing AA for text. As of v1.5,--brandis cobalt (#2F4BA6, ~8:1), so the brand portion is resolved. The same low-contrast-green-as-text concern, however, has transferred to the new--successtoken.Why
The finding as written is now misleading: it warns about a
--brandcontrast problem that no longer exists, while the real residual risk (green text on light surfaces) silently moved to--success. Example:.chip-oktext usescolor: var(--success)(green-500) on a 10% tint — still ~3.5:1. The guidance needs to point at the right token so it stays actionable.Recommended prerequisite
None.
Scope
Documentation/wording only in
docs/a11y.html: mark the brand half of F-014 resolved (cite the cobalt value + ratio), and re-scope the green-text rule to--success— use--success-darkfor any text role; reserve bare--successfor non-text use (dots, borders, fills). No token or component code changes.Touches
Source
Ad hoc — flagged during the v1.5 green→cobalt migration (2026-06-14 session) as a deliberately deferred step-3 item.
Owner
Lindsay (design-system owner / sole coder).
Acceptance criteria
--success/--success-dark