Adds trap-focus to datepickers for better a11y. #3.

This commit is contained in:
Mateus Machado Luna 2020-01-22 15:17:09 -03:00
parent 2eb847df08
commit e3a7486d92
3 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,7 @@
@focus="isTouched = true"
@input="validadeValues()"
editable
:trap-focus="false"
:date-formatter="(date) => dateFormatter(date)"
:date-parser="(date) => dateParser(date)"
icon="calendar-today"
@ -30,6 +31,7 @@
@input="validadeValues()"
@focus="isTouched = true"
editable
:trap-focus="false"
:date-formatter="(date) => dateFormatter(date)"
:date-parser="(date) => dateParser(date)"
icon="calendar-today"

View File

@ -74,6 +74,7 @@
v-model="value"
@input="emit()"
editable
:trap-focus="false"
:date-formatter="(date) => dateFormatter(date)"
:date-parser="(date) => dateParser(date)"
size="is-small"

View File

@ -38,6 +38,7 @@
:placeholder="$i18n.get('instruction_filter_activities_date')"
v-model="searchDates"
range
:trap-focus="false"
@input="searchActivities()"
:date-formatter="(date) => dateFormatter(date)"
:date-parser="(date) => dateParser(date)"