fix(a11y): add inline task labels

This commit is contained in:
kolaente 2025-01-22 10:42:33 +01:00
parent 46cec908fd
commit 2f1fd174bc
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="18px" height="18px" viewBox="0 0 18 18" fill="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5">
<title>Checkbox</title>
<path d="M1,9 L1,3.5 C1,2 2,1 3.5,1 L14.5,1 C16,1 17,2 17,3.5 L17,14.5 C17,16 16,17 14.5,17 L3.5,17 C2,17 1,16 1,14.5 L1,9 Z" stroke-dasharray="60"></path>
<polyline points="1 9 7 14 15 4" stroke-dasharray="22" stroke-dashoffset="66"></polyline>
</svg>

Before

Width:  |  Height:  |  Size: 420 B

After

Width:  |  Height:  |  Size: 445 B

View File

@ -99,7 +99,6 @@
</template>
</Popup>
<span>
<span
v-if="task.attachments.length > 0"
@ -151,6 +150,7 @@
class="favorite"
@click.stop="toggleFavorite"
>
<span class="tw-sr-only">{{ task.isFavorite ? $t('task.detail.actions.unfavorite') : $t('task.detail.actions.favorite') }}</span>
<Icon
v-if="task.isFavorite"
icon="star"