From ee3347f5324f69e06af8d39b283f44543f29a6e4 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 27 Jul 2026 21:41:29 +0000 Subject: [PATCH 1/2] fix(a11y): meet WCAG 2.2 SC 2.4.11 focus-ring contrast on dashboard panels Post-merge corrective for #918 (merged into main with three unresolved copilot-pull-request-reviewer findings still open on the dashboard panels). - Dispatch button: focus-visible ring indigo-400/50 -> /70. At 50% opacity the ring composites to ~2.5:1 against the ~#0e0e13 dashboard background, below the 3:1 focus-indicator floor; /70 clears it. - Refresh button: focus-visible ring white/30 -> /40, same rationale. - Add regression coverage in dashboard-search-accessibility.test.ts for the corrected ring opacities and for aria-busy tracking searchLoading on the Go button, so these cannot silently regress. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01WJBTAoqpfHepiLfks3NhTk --- apps/web/src/components/dashboard/panels.tsx | 4 ++-- .../dashboard-search-accessibility.test.ts | 23 +++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/dashboard/panels.tsx b/apps/web/src/components/dashboard/panels.tsx index 9776abd1e..676dde7ce 100644 --- a/apps/web/src/components/dashboard/panels.tsx +++ b/apps/web/src/components/dashboard/panels.tsx @@ -223,7 +223,7 @@ export function AgentsPanel({ {hasEvents && agentBackend && (