fix(canvas): WCAG AA contrast — badge/button/cascade text colors #928

Merged
devops-engineer merged 1 commits from design/wcag-contrast-fixes-2026-05-14 into main 2026-05-14 02:07:31 +00:00

1 Commits

Author SHA1 Message Date
befba93a51 fix(canvas): WCAG AA contrast — badge/button/cascade text colors
Some checks failed
sop-checklist / all-items-acked (pull_request) injected
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 21s
CI / Detect changes (pull_request) Successful in 33s
Harness Replays / detect-changes (pull_request) Successful in 14s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 16s
E2E API Smoke Test / detect-changes (pull_request) Successful in 34s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 31s
qa-review / approved (pull_request) Successful in 16s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 32s
security-review / approved (pull_request) Successful in 17s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 31s
audit-force-merge / audit (pull_request) Successful in 17s
sop-checklist-gate / gate (pull_request) Successful in 13s
gate-check-v3 / gate-check (pull_request) Successful in 20s
sop-tier-check / tier-check (pull_request) Successful in 17s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m15s
Harness Replays / Harness Replays (pull_request) Successful in 12s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 10s
CI / Python Lint & Test (pull_request) Successful in 13s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 18s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 9m6s
CI / Platform (Go) (pull_request) Failing after 13m54s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Failing after 12m35s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Failing after 11m59s
CI / Canvas (Next.js) (pull_request) Successful in 13m52s
CI / Canvas Deploy Reminder (pull_request) Successful in 1s
CI / all-required (pull_request) Successful in 0s
- BatchActionBar: selection badge bg-accent-strong/80 (3.4:1) → bg-zinc-700
  (7.2:1); Restart/Pause/Delete button text all switch to text-white
  (icons carry the color cue via aria-hidden).
- AuditTrailPanel: badge text colors darkened to pass 4.5:1 on near-black
  bg-*-950/40 backgrounds — blue-300/violet-300/yellow-200/orange-300.
  Redundant aria-label removed from badge span (text IS the accessible name).
- DeleteCascadeConfirmDialog: cascade warning text-bad/80 → text-red-300;
  strong text red-200 → red-100; disabled Delete All text-bad/40 → text-red-400.
- DropTargetBadge: ghost slot div marked aria-hidden (pure decorative overlay);
  badge gains role="status" + aria-label.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 02:06:14 +00:00