Improve a11y
This commit is contained in:
parent
6e5bf7dbc4
commit
8ac8f33364
1 changed files with 2 additions and 1 deletions
|
@ -26,12 +26,13 @@
|
||||||
(defcomp ~sp-header ()
|
(defcomp ~sp-header ()
|
||||||
(hsx
|
(hsx
|
||||||
(header
|
(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"
|
:class "flex md:hidden justify-between py-2 border-b-1 top-0 bg-white"
|
||||||
(p :class "z-20 text-2xl font-bold"
|
(p :class "z-20 text-2xl font-bold"
|
||||||
(a :preload "mousedown" :href "/" "skyizwhite"))
|
(a :preload "mousedown" :href "/" "skyizwhite"))
|
||||||
(div
|
(div
|
||||||
(button
|
(button
|
||||||
|
:aria-label "Open menu"
|
||||||
:class "z-20 size-8 flex flex-col justify-center cursor-pointer relative"
|
:class "z-20 size-8 flex flex-col justify-center cursor-pointer relative"
|
||||||
:type "button"
|
:type "button"
|
||||||
:@click "open = !open"
|
:@click "open = !open"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue