feat(a11y): add labels to color picker and sort select

Adds aria-label to the color input and sort select elements
so screen readers announce their purpose.

Fixes WCAG 3.3.2 (Labels or Instructions).
This commit is contained in:
kolaente 2026-04-12 14:19:38 +02:00 committed by kolaente
parent 4618f3491b
commit c1f74ae9dc
2 changed files with 5 additions and 1 deletions

View File

@ -15,6 +15,7 @@
type="color"
:list="colorListID"
:class="{'is-empty': isEmpty}"
:aria-label="$t('input.projectColor')"
>
<svg
v-show="isEmpty"

View File

@ -16,7 +16,10 @@
</p>
<div class="field">
<div class="select is-fullwidth">
<select v-model="selected">
<select
v-model="selected"
:aria-label="$t('misc.sortBy')"
>
<option
v-for="o in options"
:key="o.value"