From 4b2d5973228e9b3e557a30865b1392c1d7d369a7 Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Sun, 15 Mar 2026 12:39:06 +0000 Subject: [PATCH] [#115] Add aria-expanded and aria-hidden to mobile nav toggle Co-Authored-By: Claude Opus 4.6 (1M context) --- src/components/NavBar.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/NavBar.tsx b/src/components/NavBar.tsx index afa550d1..59648408 100644 --- a/src/components/NavBar.tsx +++ b/src/components/NavBar.tsx @@ -59,8 +59,9 @@ export function NavBar() { onClick={() => setMobileOpen(!mobileOpen)} className="text-muted hover:text-foreground p-1 text-sm transition-colors md:hidden" aria-label="Toggle menu" + aria-expanded={mobileOpen} > - {mobileOpen ? "[x]" : "[=]"} +