From c255e3f02528024e19ed658b0c0e77c66f2b7e1e Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 16 Jan 2022 18:09:50 +0100 Subject: [PATCH] feat(a11y): add aria-expanded --- src/components/tasks/partials/singleTaskInList.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/tasks/partials/singleTaskInList.vue b/src/components/tasks/partials/singleTaskInList.vue index 3b928ad2..7eb07fb6 100644 --- a/src/components/tasks/partials/singleTaskInList.vue +++ b/src/components/tasks/partials/singleTaskInList.vue @@ -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)}) }}