From f3b2a2662afde6c818152127c76f821dd38a1966 Mon Sep 17 00:00:00 2001
From: Sebastien Castiel <sebastien@castiel.me>
Date: Sun, 10 Dec 2023 11:38:01 -0500
Subject: Improve accessibility

---
 src/app/layout.tsx | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

(limited to 'src/app/layout.tsx')

diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 2abc96a..9fd82b0 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -79,16 +79,18 @@ export default function RootLayout({
                 />
               </h1>
             </Link>
-            <ul role="nav" className="flex items-center text-sm">
-              <li>
-                <Button variant="link" asChild className="-my-3">
-                  <Link href="/groups">Groups</Link>
-                </Button>
-              </li>
-              <li>
-                <ThemeToggle />
-              </li>
-            </ul>
+            <div role="navigation" aria-label="Menu" className="flex">
+              <ul className="flex items-center text-sm">
+                <li>
+                  <Button variant="link" asChild className="-my-3">
+                    <Link href="/groups">Groups</Link>
+                  </Button>
+                </li>
+                <li>
+                  <ThemeToggle />
+                </li>
+              </ul>
+            </div>
           </header>
 
           {children}
-- 
cgit v1.3

