From 4de3e9da0bf7bd598474e0f2ed18f3eca2a8e941 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sun, 17 May 2026 17:15:53 +0200 Subject: [PATCH] a11y(insights): announce loaded assessment via polite live region Mirror the aria-live=polite the loading skeleton already carries onto the success card so screen readers announce the assessment when it swaps into the same slot the skeleton occupied. Closes the load to loaded transition signal flagged in W10 P2-2. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/components/insights/insight-status-card.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/insights/insight-status-card.tsx b/src/components/insights/insight-status-card.tsx index 0a6886e7a..14f45563d 100644 --- a/src/components/insights/insight-status-card.tsx +++ b/src/components/insights/insight-status-card.tsx @@ -105,7 +105,15 @@ export function InsightStatusCard({ } return ( - + // v1.4.38 W-D P2-2 — `aria-live="polite"` so screen readers + // announce the assessment when it swaps into the same slot the + // structured skeleton occupied. The skeleton card already carries + // `aria-busy="true" aria-live="polite"`; mirroring the live region + // on the success card closes the load→loaded transition signal. +