diff --git a/src/app/register-email-form/register-email-form.component.html b/src/app/register-email-form/register-email-form.component.html
index d4cf75b5630..f6f4880ab6e 100644
--- a/src/app/register-email-form/register-email-form.component.html
+++ b/src/app/register-email-form/register-email-form.component.html
@@ -14,13 +14,16 @@
{{MESSAGE_PREFIX + '.header'|translate}}
+ type="text" id="email" formControlName="email"
+ [attr.aria-label]="MESSAGE_PREFIX + '.aria.label' | translate"
+ [attr.aria-describedby]="(!email.errors) ? '' : (email.errors.required ? 'email-errors-required' : 'email-error-not-valid')"
+ [attr.aria-invalid]="email.invalid"/>
-
+
{{ MESSAGE_PREFIX + '.email.error.required' | translate }}
-
+
{{ MESSAGE_PREFIX + '.email.error.not-email-form' | translate }}
0">
{{ MESSAGE_PREFIX + '.email.error.not-valid-domain' | translate: { domains: validMailDomains.join(', ') } }}
diff --git a/src/app/register-email-form/register-email-form.component.ts b/src/app/register-email-form/register-email-form.component.ts
index df7e9bea5ef..c8ca0cc7109 100644
--- a/src/app/register-email-form/register-email-form.component.ts
+++ b/src/app/register-email-form/register-email-form.component.ts
@@ -247,5 +247,4 @@ export class RegisterEmailFormComponent implements OnDestroy, OnInit {
console.warn(`Unimplemented notification '${key}' from reCaptcha service`);
}
}
-
}
diff --git a/src/assets/i18n/en.json5 b/src/assets/i18n/en.json5
index 475e6437d66..56439dee436 100644
--- a/src/assets/i18n/en.json5
+++ b/src/assets/i18n/en.json5
@@ -5369,4 +5369,8 @@
"process.overview.unknown.user": "Unknown",
"browse.search-form.placeholder": "Search the repository",
+
+ "register-page.registration.aria.label": "Enter your e-mail address",
+
+ "forgot-email.form.aria.label": "Enter your e-mail address",
}
diff --git a/src/assets/i18n/es.json5 b/src/assets/i18n/es.json5
index 3bc98a9502a..dfdf4ca6281 100644
--- a/src/assets/i18n/es.json5
+++ b/src/assets/i18n/es.json5
@@ -7831,5 +7831,11 @@
//"browse.search-form.placeholder": "Search the repository",
"browse.search-form.placeholder": "Buscar en el repositorio",
+ // "register-page.registration.aria.label": "Enter your e-mail address",
+ "register-page.registration.aria.label": "Introduzca su dirección de correo electrónico",
+
+ // "forgot-email.form.aria.label": "Enter your e-mail address",
+ "forgot-email.form.aria.label": "Introduzca su dirección de correo electrónico",
+
}
diff --git a/src/assets/i18n/pt-BR.json5 b/src/assets/i18n/pt-BR.json5
index aae51b36719..eebf8968895 100644
--- a/src/assets/i18n/pt-BR.json5
+++ b/src/assets/i18n/pt-BR.json5
@@ -7857,4 +7857,10 @@
//"browse.search-form.placeholder": "Search the repository",
"browse.search-form.placeholder": "Buscar no repositório",
+
+ // "register-page.registration.aria.label": "Enter your e-mail address",
+ "register-page.registration.aria.label": "Digite seu e-mail",
+
+ // "forgot-email.form.aria.label": "Enter your e-mail address",
+ "forgot-email.form.aria.label": "Digite seu e-mail",
}