aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulia Kirschenheuter <6078378+JuliaKirschenheuter@users.noreply.github.com>2023-10-04 18:14:06 +0200
committerGitHub <noreply@github.com>2023-10-04 18:14:06 +0200
commit7641af5a5bd541cf5420357b9d94dbabaf6065f3 (patch)
tree55785caa53a77641e42148d2e65bb18f5efc35af /apps
parentff9be6b20ac6ba48519d0673caaa263bc3cad485 (diff)
parente1bda0ad8fe00fd94adbab23c2ca437aa6b679b1 (diff)
downloadnextcloud-server-7641af5a5bd541cf5420357b9d94dbabaf6065f3.tar.gz
nextcloud-server-7641af5a5bd541cf5420357b9d94dbabaf6065f3.zip
Merge pull request #40662 from nextcloud/fix-37080_correct_aria_label_text_on_action_inputs
Correct `aria-label` on action input and text field
Diffstat (limited to 'apps')
-rw-r--r--apps/settings/src/components/GroupListItem.vue1
-rw-r--r--apps/settings/src/components/Users/UserRow.vue7
2 files changed, 6 insertions, 2 deletions
diff --git a/apps/settings/src/components/GroupListItem.vue b/apps/settings/src/components/GroupListItem.vue
index 397633955df..239a48a5d5f 100644
--- a/apps/settings/src/components/GroupListItem.vue
+++ b/apps/settings/src/components/GroupListItem.vue
@@ -41,6 +41,7 @@
<NcActionInput v-if="id !== 'admin' && id !== 'disabled' && settings.isAdmin"
ref="displayNameInput"
icon="icon-edit"
+ :trailing-button-label="t('settings', 'Submit')"
type="text"
:value="name"
:label=" t('settings', 'Rename group')"
diff --git a/apps/settings/src/components/Users/UserRow.vue b/apps/settings/src/components/Users/UserRow.vue
index 678179a2f32..35cd15a0367 100644
--- a/apps/settings/src/components/Users/UserRow.vue
+++ b/apps/settings/src/components/Users/UserRow.vue
@@ -42,6 +42,7 @@
<NcTextField ref="displayNameField"
data-test="displayNameField"
class="user-row-text-field"
+ :trailing-button-label="t('settings', 'Submit')"
:class="{ 'icon-loading-small': idState.loading.displayName }"
:show-trailing-button="true"
:disabled="idState.loading.displayName || isLoadingField"
@@ -68,11 +69,12 @@
<template v-if="idState.editing && settings.canChangePassword && user.backendCapabilities.setPassword">
<NcTextField class="user-row-text-field"
:class="{'icon-loading-small': idState.loading.password}"
+ :trailing-button-label="t('settings', 'Submit')"
:show-trailing-button="true"
:disabled="idState.loading.password || isLoadingField"
:minlength="minPasswordLength"
maxlength="469"
- :label="t('settings', 'Add new password')"
+ :label="t('settings', 'Set new password')"
trailing-button-icon="arrowRight"
:value.sync="idState.editedPassword"
autocapitalize="off"
@@ -93,8 +95,9 @@
<NcTextField class="user-row-text-field"
:class="{'icon-loading-small': idState.loading.mailAddress}"
:show-trailing-button="true"
+ :trailing-button-label="t('settings', 'Submit')"
:disabled="idState.loading.mailAddress || isLoadingField"
- :label="t('settings', 'Add new email address')"
+ :label="t('settings', 'Set new email address')"
trailing-button-icon="arrowRight"
:value.sync="idState.editedMail"
autocapitalize="off"