summaryrefslogtreecommitdiff
path: root/src/components/Global/TableDateFilter.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/Global/TableDateFilter.vue')
-rw-r--r--src/components/Global/TableDateFilter.vue10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/components/Global/TableDateFilter.vue b/src/components/Global/TableDateFilter.vue
index 00c04ab0..aa10cb5c 100644
--- a/src/components/Global/TableDateFilter.vue
+++ b/src/components/Global/TableDateFilter.vue
@@ -34,13 +34,15 @@
:label-help="
$t('global.calendar.useCursorKeysToNavigateCalendarDates')
"
- :aria-label="$t('global.calendar.selectDate')"
:title="$t('global.calendar.selectDate')"
button-variant="link"
aria-controls="input-from-date"
>
<template #button-content>
<icon-calendar />
+ <span class="sr-only">
+ {{ $t('global.calendar.selectDate') }}
+ </span>
</template>
</b-form-datepicker>
</b-input-group>
@@ -78,13 +80,15 @@
:label-help="
$t('global.calendar.useCursorKeysToNavigateCalendarDates')
"
- :aria-label="$t('global.calendar.openDatePicker')"
- :title="$t('global.calendar.openDatePicker')"
+ :title="$t('global.calendar.selectDate')"
button-variant="link"
aria-controls="input-to-date"
>
<template #button-content>
<icon-calendar />
+ <span class="sr-only">
+ {{ $t('global.calendar.selectDate') }}
+ </span>
</template>
</b-form-datepicker>
</b-input-group>