From 4eab776d1187d5c60f7cedf730d6ddae4d78ae7b Mon Sep 17 00:00:00 2001 From: Roberto Guido Date: Sun, 9 Aug 2026 23:36:07 +0200 Subject: [PATCH] chore: added a few aria labels and improved minor dialogs Signed-off-by: Roberto Guido --- .../Settings/SettingsImportContacts.vue | 1 + .../Settings/SettingsNewAddressbook.vue | 97 ++++++++----------- .../Settings/SettingsSortContacts.vue | 30 ++---- src/components/Properties/PropertyGroups.vue | 1 + .../Properties/PropertyMultipleText.vue | 1 + src/components/Properties/PropertySelect.vue | 1 + src/components/Properties/PropertyText.vue | 1 + 7 files changed, 54 insertions(+), 78 deletions(-) diff --git a/src/components/AppNavigation/Settings/SettingsImportContacts.vue b/src/components/AppNavigation/Settings/SettingsImportContacts.vue index e69934ec1e..26ca8b0526 100644 --- a/src/components/AppNavigation/Settings/SettingsImportContacts.vue +++ b/src/components/AppNavigation/Settings/SettingsImportContacts.vue @@ -29,6 +29,7 @@ :options="options" :disabled="isSingleAddressbook || isImporting" :placeholder="t('contacts', 'Contacts')" + :aria-label-combobox="t('contacts', 'Pick an address book')" label="displayName" class="import-contact__modal-addressbook__select"> - - diff --git a/src/components/AppNavigation/Settings/SettingsSortContacts.vue b/src/components/AppNavigation/Settings/SettingsSortContacts.vue index 097bb4c15c..0a26196df9 100644 --- a/src/components/AppNavigation/Settings/SettingsSortContacts.vue +++ b/src/components/AppNavigation/Settings/SettingsSortContacts.vue @@ -5,19 +5,15 @@ @@ -84,11 +80,3 @@ export default { }, } - - diff --git a/src/components/Properties/PropertyGroups.vue b/src/components/Properties/PropertyGroups.vue index 810c9ec294..1e2080f1af 100644 --- a/src/components/Properties/PropertyGroups.vue +++ b/src/components/Properties/PropertyGroups.vue @@ -23,6 +23,7 @@ :options="groups" :no-wrap="true" :placeholder="t('contacts', 'Add contact in group')" + :aria-label-combobox="t('contacts', 'Add contact in group')" :multiple="true" :keep-open="true" :clearable="true" diff --git a/src/components/Properties/PropertyMultipleText.vue b/src/components/Properties/PropertyMultipleText.vue index 93d1108779..906c3f8b97 100644 --- a/src/components/Properties/PropertyMultipleText.vue +++ b/src/components/Properties/PropertyMultipleText.vue @@ -38,6 +38,7 @@ v-model="localType" :options="options" :placeholder="t('contacts', 'Select type')" + :aria-label-combobox="t('contacts', 'Select type')" :taggable="true" tag-placeholder="create" label="name" diff --git a/src/components/Properties/PropertySelect.vue b/src/components/Properties/PropertySelect.vue index 2d111cfd43..deb01bbd25 100644 --- a/src/components/Properties/PropertySelect.vue +++ b/src/components/Properties/PropertySelect.vue @@ -35,6 +35,7 @@ :options="selectableOptions" :no-wrap="true" :placeholder="t('contacts', 'Select option')" + :aria-label-combobox="t('contacts', 'Select option')" :disabled="isSingleOption || isReadOnly" label="name" @update:model-value="updateValue" /> diff --git a/src/components/Properties/PropertyText.vue b/src/components/Properties/PropertyText.vue index f183c4a403..c406392689 100644 --- a/src/components/Properties/PropertyText.vue +++ b/src/components/Properties/PropertyText.vue @@ -28,6 +28,7 @@ v-model="localType" :options="options" :placeholder="t('contacts', 'Select type')" + :aria-label-combobox="t('contacts', 'Select type')" :taggable="true" tag-placeholder="create" :disabled="isReadOnly"