From dc5f74231d8d75d200501648b566b67b77db5f2d Mon Sep 17 00:00:00 2001 From: Molecule AI Frontend Engineer Date: Fri, 17 Apr 2026 21:16:14 +0000 Subject: [PATCH] fix(canvas): add role=alert to deploy error in EmptyState WCAG 1.3.1 / 4.1.3: the error div that appears after a failed workspace deploy or blank-workspace create had no ARIA live region, so screen readers never announced it. Adding role="alert" makes the message an implicit aria-live="assertive" region so assistive technology surfaces the error immediately without requiring the user to navigate to it. Co-Authored-By: Claude Sonnet 4.6 --- canvas/src/components/EmptyState.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/canvas/src/components/EmptyState.tsx b/canvas/src/components/EmptyState.tsx index 52cab350..3b793495 100644 --- a/canvas/src/components/EmptyState.tsx +++ b/canvas/src/components/EmptyState.tsx @@ -153,7 +153,7 @@ export function EmptyState() { {error && ( -
+
{error}
)}