Add label for hidden username field

This commit is contained in:
Tom Byers
2021-01-06 15:49:13 +00:00
parent 1def62c497
commit 77c1595826

View File

@@ -22,6 +22,7 @@ Create an account
the view process the input.
#}
<div class="govuk-visually-hidden">
<label for="username" aria-hidden="true">Email</label>
<input type="email" name="username" id="username" value="{{ invited_user.email_address }}" disabled="disabled" tabindex="-1" aria-hidden="true" autocomplete="username" />
</div>
{{ form.name(param_extensions={"classes": "govuk-!-width-three-quarters"}) }}