feat(a11y): add aria-expanded
This commit is contained in:
parent
b96af50338
commit
c255e3f025
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@
|
||||||
@click.prevent.stop="showDefer = !showDefer"
|
@click.prevent.stop="showDefer = !showDefer"
|
||||||
v-if="+new Date(task.dueDate) > 0"
|
v-if="+new Date(task.dueDate) > 0"
|
||||||
v-tooltip="formatDate(task.dueDate)"
|
v-tooltip="formatDate(task.dueDate)"
|
||||||
|
:aria-expanded="showDefer ? 'true' : 'false'"
|
||||||
>
|
>
|
||||||
- {{ $t('task.detail.due', {at: formatDateSince(task.dueDate)}) }}
|
- {{ $t('task.detail.due', {at: formatDateSince(task.dueDate)}) }}
|
||||||
</time>
|
</time>
|
||||||
|
|
Loading…
Reference in a new issue