@@ -22,16 +22,18 @@ const isChecked = ref(false)
2222 <div class =" mx-auto w-full max-w-7xl p-4" >
2323 <div class =" w-full flex items-center justify-between gap-x-2" >
2424 <div class =" w-full lg:w-auto flex items-center gap-x-2" >
25- <img class =" w-9 h-9" src =" /assets/img/logo.svg" alt =" Logo" />
26- <img
27- class =" h-5 dark:invert"
28- src =" /assets/img/logo-text.svg"
29- alt =" Logo text"
30- />
25+ <NuxtLink to =" /" class =" flex items-center gap-2 tw-accessibility" >
26+ <img class =" w-9 h-9" src =" /assets/img/logo.svg" alt =" Logo" />
27+ <img
28+ class =" h-5 dark:invert"
29+ src =" /assets/img/logo-text.svg"
30+ alt =" Logo text"
31+ />
32+ </NuxtLink >
3133
3234 <!-- Hamburger -->
3335 <button
34- class =" flex relative justify-center items-center ml-auto w-10 h-10 focus:outline-none lg:hidden"
36+ class =" flex relative justify-center items-center ml-auto w-10 h-10 lg:hidden tw-accessibility "
3537 @click =" mobileOpen = !mobileOpen"
3638 >
3739 <div
@@ -61,19 +63,19 @@ const isChecked = ref(false)
6163 >
6264 <NuxtLink
6365 to =" /"
64- class =" text-muted-700 hover:text-muted-500 dark:text-muted-400 dark:hover:text-muted-200 transition-colors duration-300"
66+ class =" text-muted-700 hover:text-muted-500 dark:text-muted-400 dark:hover:text-muted-200 transition-colors duration-300 tw-accessibility "
6567 >Examples</NuxtLink
6668 >
6769 <NuxtLink
6870 to =" /api"
69- class =" text-muted-700 hover:text-muted-500 dark:text-muted-400 dark:hover:text-muted-200 transition-colors duration-300"
71+ class =" text-muted-700 hover:text-muted-500 dark:text-muted-400 dark:hover:text-muted-200 transition-colors duration-300 tw-accessibility "
7072 >API docs</NuxtLink
7173 >
7274 </div >
7375 <div class =" flex items-center justify-end gap-x-1 lg:pl-4" >
7476 <NuxtLink
7577 to =" /"
76- class =" w-10 h-10 flex items-center justify-center rounded-full text-muted-700 hover:text-muted-500 dark:text-muted-400 dark:hover:text-muted-200 transition-colors duration-300"
78+ class =" w-10 h-10 flex items-center justify-center rounded-full text-muted-700 hover:text-muted-500 dark:text-muted-400 dark:hover:text-muted-200 transition-colors duration-300 tw-accessibility "
7779 >
7880 <svg class =" w-5 h-5" viewBox =" 0 0 1536 1504" >
7981 <path
@@ -84,7 +86,7 @@ const isChecked = ref(false)
8486 </NuxtLink >
8587 <NuxtLink
8688 to =" /"
87- class =" w-10 h-10 flex items-center justify-center rounded-full text-muted-700 hover:text-muted-500 dark:text-muted-400 dark:hover:text-muted-200 transition-colors duration-300"
89+ class =" w-10 h-10 flex items-center justify-center rounded-full text-muted-700 hover:text-muted-500 dark:text-muted-400 dark:hover:text-muted-200 transition-colors duration-300 tw-accessibility "
8890 >
8991 <svg class =" w-5 h-5" viewBox =" 0 0 1600 1280" >
9092 <path
@@ -94,7 +96,9 @@ const isChecked = ref(false)
9496 </svg >
9597 </NuxtLink >
9698 <!-- Theme -->
97- <label class =" block w-9 h-9 overflow-hidden relative mx-auto" >
99+ <label
100+ class =" block w-9 h-9 rounded-full overflow-hidden relative mx-auto focus-within:tw-accessibility-static"
101+ >
98102 <input
99103 v-model =" isChecked"
100104 type =" checkbox"
0 commit comments