From 287a1d22139fbc7578236cbd3c7e184f3c992d0f Mon Sep 17 00:00:00 2001
From: Timothy Carambat <rambat1010@gmail.com>
Date: Fri, 5 Apr 2024 10:14:37 -0700
Subject: [PATCH] patch aria attrib outside element (#1047)

---
 frontend/src/components/Sidebar/index.jsx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/frontend/src/components/Sidebar/index.jsx b/frontend/src/components/Sidebar/index.jsx
index 92bbbba6b..a32c0a3b6 100644
--- a/frontend/src/components/Sidebar/index.jsx
+++ b/frontend/src/components/Sidebar/index.jsx
@@ -99,13 +99,15 @@ export function SidebarMobileHeader() {
 
   return (
     <>
-      <div className="fixed top-0 left-0 right-0 z-10 flex justify-between items-center px-4 py-2 bg-sidebar text-slate-200 shadow-lg h-16">
+      <div
+        aria-label="Show sidebar"
+        className="fixed top-0 left-0 right-0 z-10 flex justify-between items-center px-4 py-2 bg-sidebar text-slate-200 shadow-lg h-16"
+      >
         <button
           onClick={() => setShowSidebar(true)}
           className="rounded-md p-2 flex items-center justify-center text-slate-200"
         >
           <List className="h-6 w-6" />
-          aria-label="Show sidebar"
         </button>
         <div className="flex items-center justify-center flex-grow">
           <img
-- 
GitLab