chore: use label over div for accessibility

This commit is contained in:
eggy 2024-03-01 13:37:33 -05:00
parent 194c5343c6
commit 47514d48a3

View File

@ -10,7 +10,7 @@ useHead({ title: "Oeufs?" });
<footer <footer
class="flex items-center justify-between p-3 bg-gray-100 w-full text-sm dark:bg-gray-800 flex-col md:flex-row gap-2" class="flex items-center justify-between p-3 bg-gray-100 w-full text-sm dark:bg-gray-800 flex-col md:flex-row gap-2"
> >
<div class="flex items-center gap-2"> <label class="flex items-center gap-2">
<p>Revision:</p> <p>Revision:</p>
<!-- <!--
the onchange is so bad - i'd rather it be done through vue the onchange is so bad - i'd rather it be done through vue
@ -26,7 +26,7 @@ useHead({ title: "Oeufs?" });
{{ r.title }} {{ r.title }}
</option> </option>
</select> </select>
</div> </label>
<div class="flex flex-col items-center"> <div class="flex flex-col items-center">
<p> <p>
Licensed under the AGPL-3.0 on Licensed under the AGPL-3.0 on