From 7cf55a3b7e37971ea0835118a26f032d895ff71f Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Sun, 7 Dec 2025 23:49:54 +0900
Subject: fix(client): add explicit role attribute to OfflineBanner
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The accessibility test expected an explicit role="status" attribute.
While the <output> element has an implicit status role, the test
checks for the explicit attribute using getAttribute().

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---
 src/client/components/OfflineBanner.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/client/components/OfflineBanner.tsx')

diff --git a/src/client/components/OfflineBanner.tsx b/src/client/components/OfflineBanner.tsx
index 4782fd4..faca3e7 100644
--- a/src/client/components/OfflineBanner.tsx
+++ b/src/client/components/OfflineBanner.tsx
@@ -10,6 +10,7 @@ export function OfflineBanner() {
 	return (
 		<output
 			data-testid="offline-banner"
+			role="status"
 			aria-live="polite"
 			style={{
 				backgroundColor: "#6c757d",
-- 
cgit v1.2.3-70-g09d2

