aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorGrigorii K. Shartsev <me@shgk.me>2023-10-19 13:53:38 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2023-10-20 20:31:56 +0200
commit4a85113cac921957c9184461b663a725c4cce800 (patch)
treef6587ee64bf87043b2991e900c10646ef9beb877 /apps
parentdf74fb012305111bd3727bdcf8248568cd3cb5c1 (diff)
downloadnextcloud-server-4a85113cac921957c9184461b663a725c4cce800.tar.gz
nextcloud-server-4a85113cac921957c9184461b663a725c4cce800.zip
fix(settings): remove empty aria-describedby
Empty string `''` is still rendered and is not a valid ID. Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
Diffstat (limited to 'apps')
-rw-r--r--apps/settings/src/components/PersonalInfo/EmailSection/Email.vue2
-rw-r--r--apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue6
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/settings/src/components/PersonalInfo/EmailSection/Email.vue b/apps/settings/src/components/PersonalInfo/EmailSection/Email.vue
index 7b5d4c11028..9edf5a8b0df 100644
--- a/apps/settings/src/components/PersonalInfo/EmailSection/Email.vue
+++ b/apps/settings/src/components/PersonalInfo/EmailSection/Email.vue
@@ -29,7 +29,7 @@
autocomplete="email"
:placeholder="inputPlaceholder"
:value="email"
- :aria-describedby="helperText ? `${inputId}-helper-text` : ''"
+ :aria-describedby="helperText ? `${inputId}-helper-text` : undefined"
autocapitalize="none"
spellcheck="false"
@input="onEmailChange">
diff --git a/apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue b/apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue
index 8cf92fe32ed..c9b74eeb3f4 100644
--- a/apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue
+++ b/apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue
@@ -43,17 +43,17 @@
:placeholder="placeholder"
:type="type"
:value="value"
- :aria-describedby="helperText ? `${name}-helper-text` : ''"
+ :aria-describedby="helperText ? `${name}-helper-text` : undefined"
autocapitalize="none"
spellcheck="false"
:autocomplete="autocomplete"
@input="onPropertyChange">
<div class="property__actions-container">
- <transition name="fade">
+ <Transition name="fade">
<Check v-if="showCheckmarkIcon" :size="20" />
<AlertOctagon v-else-if="showErrorIcon" :size="20" />
- </transition>
+ </Transition>
</div>
</div>
<span v-else>