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 @@
value="dark"
unchecked-value="light"
variant="dark"
:aria-checked="mode"
:aria-checked="mode === 'light' ? 'false' : 'true'"
aria-label="Toggle dark mode"
>
<fa
......
......@@ -6,6 +6,7 @@
href="https://forum.monnaie-libre.fr/calendar"
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"
rel="noopener noreferrer"
>
Agenda
<fa
......@@ -26,8 +27,9 @@
v-for="(event, index) in column"
:key="index"
: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"
rel="noopener noreferrer"
>
<div class="event-date text-sm text-gray-500">
{{ prettyDate(event.event.start) }}
......
......@@ -20,6 +20,7 @@
href="https://carte.monnaie-libre.fr"
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"
rel="noopener noreferrer"
>
Carte
<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