Improve a11y

This commit is contained in:
Akira Tempaku 2025-05-20 10:44:20 +09:00
parent 6e5bf7dbc4
commit 8ac8f33364
Signed by: paku
GPG key ID: 5B4E8402BCC50607

View file

@ -26,12 +26,13 @@
(defcomp ~sp-header ()
(hsx
(header
:id "sp-header" :x-data "{ open: false }"
:x-data "{ open: false }"
:class "flex md:hidden justify-between py-2 border-b-1 top-0 bg-white"
(p :class "z-20 text-2xl font-bold"
(a :preload "mousedown" :href "/" "skyizwhite"))
(div
(button
:aria-label "Open menu"
:class "z-20 size-8 flex flex-col justify-center cursor-pointer relative"
:type "button"
:@click "open = !open"