patch aria attrib outside element (#1047)

This commit is contained in:
Timothy Carambat 2024-04-05 10:14:37 -07:00 committed by GitHub
parent cf5fb4c029
commit 287a1d2213
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,13 +99,15 @@ export function SidebarMobileHeader() {
return ( 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 <button
onClick={() => setShowSidebar(true)} onClick={() => setShowSidebar(true)}
className="rounded-md p-2 flex items-center justify-center text-slate-200" className="rounded-md p-2 flex items-center justify-center text-slate-200"
> >
<List className="h-6 w-6" /> <List className="h-6 w-6" />
aria-label="Show sidebar"
</button> </button>
<div className="flex items-center justify-center flex-grow"> <div className="flex items-center justify-center flex-grow">
<img <img