Skip to content
Snippets Groups Projects
Commit 4d78714b authored by Emmanuel Salomon's avatar Emmanuel Salomon :fist:
Browse files

a11y: fix darkmode toggle aria-checked + rel links

parent 53630565
No related branches found
No related tags found
No related merge requests found
Pipeline #13676 passed
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
value="dark" value="dark"
unchecked-value="light" unchecked-value="light"
variant="dark" variant="dark"
:aria-checked="mode" :aria-checked="mode === 'light' ? 'false' : 'true'"
aria-label="Toggle dark mode" aria-label="Toggle dark mode"
> >
<fa <fa
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
href="https://forum.monnaie-libre.fr/calendar" href="https://forum.monnaie-libre.fr/calendar"
target="_blank" target="_blank"
class="group bg-clip-text bg-gradient-to-r font-extrabold from-purple-800 hover:underline text-4xl text-transparent to-blue-600 uppercase" class="group bg-clip-text bg-gradient-to-r font-extrabold from-purple-800 hover:underline text-4xl text-transparent to-blue-600 uppercase"
rel="noopener noreferrer"
> >
Agenda Agenda
<fa <fa
...@@ -26,8 +27,9 @@ ...@@ -26,8 +27,9 @@
v-for="(event, index) in column" v-for="(event, index) in column"
:key="index" :key="index"
:href="`https://forum.monnaie-libre.fr/t/${event.slug}/${event.id}`" :href="`https://forum.monnaie-libre.fr/t/${event.slug}/${event.id}`"
targe="_blank" target="_blank"
class="block hover:bg-hover-light dark-hover:text-gray-800 p-2 mt-1 rounded-lg transition-colors" class="block hover:bg-hover-light dark-hover:text-gray-800 p-2 mt-1 rounded-lg transition-colors"
rel="noopener noreferrer"
> >
<div class="event-date text-sm text-gray-500"> <div class="event-date text-sm text-gray-500">
{{ prettyDate(event.event.start) }} {{ prettyDate(event.event.start) }}
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
href="https://carte.monnaie-libre.fr" href="https://carte.monnaie-libre.fr"
target="_blank" target="_blank"
class="group bg-clip-text bg-gradient-to-r font-extrabold from-purple-800 hover:underline text-4xl text-transparent to-blue-600 uppercase" class="group bg-clip-text bg-gradient-to-r font-extrabold from-purple-800 hover:underline text-4xl text-transparent to-blue-600 uppercase"
rel="noopener noreferrer"
> >
Carte Carte
<fa <fa
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment