From 8a0f659a866700e812bd3f55dc3e9e36ba61638c Mon Sep 17 00:00:00 2001 From: Tusooa Zhu Date: Sun, 10 Jul 2022 22:46:53 -0400 Subject: [PATCH] Add optional/required indicator for registration fields --- src/components/registration/registration.vue | 9 +++++++-- src/i18n/en.json | 3 ++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/registration/registration.vue b/src/components/registration/registration.vue index cc655c0b..d78d8da9 100644 --- a/src/components/registration/registration.vue +++ b/src/components/registration/registration.vue @@ -23,6 +23,7 @@ v-model.trim="v$.user.username.$model" :disabled="isPending" class="form-control" + :aria-required="true" :placeholder="$t('registration.username_placeholder')" > @@ -50,6 +51,7 @@ v-model.trim="v$.user.fullname.$model" :disabled="isPending" class="form-control" + :aria-required="true" :placeholder="$t('registration.fullname_placeholder')" > @@ -71,13 +73,14 @@ + >{{ accountActivationRequired ? $t('registration.email') : $t('registration.email_optional') }}
{{ $t('registration.bio') }} ({{ $t('general.optional') }}) + >{{ $t('registration.bio_optional') }}