aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-12-07 23:49:54 +0900
committernsfisis <nsfisis@gmail.com>2025-12-07 23:49:54 +0900
commit7cf55a3b7e37971ea0835118a26f032d895ff71f (patch)
treed448ed3d8aca3bcfebb8ee06bf89eb21062f8d9d
parent3cfa0f5c029113a2ada8e8663767a654150ba8c3 (diff)
downloadkioku-7cf55a3b7e37971ea0835118a26f032d895ff71f.tar.gz
kioku-7cf55a3b7e37971ea0835118a26f032d895ff71f.tar.zst
kioku-7cf55a3b7e37971ea0835118a26f032d895ff71f.zip
fix(client): add explicit role attribute to OfflineBanner
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>
-rw-r--r--src/client/components/OfflineBanner.tsx1
1 files changed, 1 insertions, 0 deletions
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",