Aria label for close button on tags of taginput. #3.

This commit is contained in:
Mateus Machado Luna 2019-08-09 14:04:57 -03:00
parent 82bdf6afca
commit 6f0e459f97
5 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,7 @@
field="label"
attached
@typing="search"
:aria-close-label="$i18n.get('remove_value')"
:aria-labelledby="labelId"
:placeholder="(type == 'Tainacan\\Metadata_Types\\Relationship') ? $i18n.get('info_type_to_search_items') : $i18n.get('info_type_to_add_metadata')">
<template slot-scope="props">

View File

@ -11,6 +11,7 @@
:remove-on-keys="[]"
field="label"
attached
:aria-close-label="$i18n.get('remove_value')"
:aria-labelledby="labelId"
:class="{'has-selected': selected != undefined && selected != []}"
@typing="search"

View File

@ -10,6 +10,7 @@
autocomplete
attached
:loading="loading"
:aria-close-label="$i18n.get('remove_value')"
:class="{'has-selected': selected != undefined && selected != []}"
field="label"
@typing="search"/>

View File

@ -16,6 +16,7 @@
@input="emitValues()"
@focus="clear()"
attached
:aria-close-label="$i18n.get('remove_value')"
:class="{'has-selected': options != undefined && options != []}"
:placeholder="$i18n.get('new') + ', ...'"/>
</b-field>

View File

@ -13,6 +13,7 @@
field="label"
attached
ellipsis
:aria-close-label="$i18n.get('remove_value')"
:placeholder="$i18n.get('instruction_type_existing_term')"
:loading="isFetching"
:class="{'has-selected': selected != undefined && selected != []}"