feat(a11y): add aria-expanded

This commit is contained in:
kolaente 2022-01-16 18:09:50 +01:00 committed by Gitea
parent b96af50338
commit c255e3f025

View file

@ -46,6 +46,7 @@
@click.prevent.stop="showDefer = !showDefer"
v-if="+new Date(task.dueDate) > 0"
v-tooltip="formatDate(task.dueDate)"
:aria-expanded="showDefer ? 'true' : 'false'"
>
- {{ $t('task.detail.due', {at: formatDateSince(task.dueDate)}) }}
</time>