Skip to content
This repository was archived by the owner on Oct 4, 2026. It is now read-only.

fix(webv2): darken success and warning toast fills for AA contrast - #389

Merged
lstein merged 5 commits into
upstream-mergefrom
fix/toast-status-contrast
Oct 1, 2026
Merged

lstein merged 5 commits into
upstream-mergefrom
fix/toast-status-contrast

Conversation

@lstein

@lstein lstein commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

Success and warning toasts put white text on Chakra's green.solid / orange.solid (the 600 step): 3.30:1 and 3.56:1, below WCAG AA (4.5:1) for their 14px titles and descriptions — no opacity change can fix that. Toasts now use green.700 (5.02:1) and orange.700 (5.18:1) fills; error and info are unchanged. Builds on #388, which already renders toast descriptions at full opacity.

Related Issues / Discussions

Stacked on #388 (base branch feat/properties-pane-title); retarget to main once #388 merges.

QA Instructions

Trigger a success toast (e.g. copy/save actions) and a warning toast: fills are a step darker, still clearly green/orange, text fully legible. Verified visually in Chromium by rendering all four toast types.

pnpm check:release passes (lint, architecture, unit + browser tests, fixtures, performance budgets, project files, accessibility). ToastContrast.browser.test.tsx now asserts AA description contrast for error, info, success and warning.

Review

No material findings.

Checklist

  • The PR has a short but descriptive title, suitable for a changelog
  • Meaningful regression coverage added / updated where needed; obsolete tests/code removed
  • Persisted-state and API changes include required migrations / compatibility validation
  • Relevant performance/efficiency opportunities considered; material claims have evidence
  • Material review findings resolved and relevant checks rerun
  • Documentation added / updated (if applicable)
  • Updated What's New copy (if doing a release after this PR)

🤖 Generated with Claude Code

Chakra's green/orange 600 fills held white toast text at 3.3:1 and 3.6:1; use the 700 step.
The toast contrast test now covers all four status types.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Base automatically changed from feat/properties-pane-title to main October 1, 2026 02:21
lstein and others added 4 commits September 30, 2026 22:27
…colors

A fixed 200ms sleep could read an interpolated border color mid-transition on a loaded CI runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lstein
lstein changed the base branch from main to upstream-merge October 1, 2026 18:58
@lstein
lstein merged commit 696ae30 into upstream-merge Oct 1, 2026
14 checks passed
@lstein
lstein deleted the fix/toast-status-contrast branch October 1, 2026 20:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant