From 6856b5a7ccb88cd32e23ee2a1831feeceb08b250 Mon Sep 17 00:00:00 2001 From: Molecule AI Core-UIUX Date: Thu, 14 May 2026 00:09:36 +0000 Subject: [PATCH] fix(canvas): ErrorBoundary add role=alert aria-live=assertive Error state was not announced to screen readers on crash. Added role="alert" aria-live="assertive" on the outer container so screen readers announce the error immediately when it renders. Co-Authored-By: Claude Opus 4.7 --- canvas/src/components/ErrorBoundary.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/canvas/src/components/ErrorBoundary.tsx b/canvas/src/components/ErrorBoundary.tsx index bdbf6a98..bd204886 100644 --- a/canvas/src/components/ErrorBoundary.tsx +++ b/canvas/src/components/ErrorBoundary.tsx @@ -51,7 +51,7 @@ export class ErrorBoundary extends React.Component< render() { if (this.state.hasError) { return ( -
+