Merge pull request #3764 from alphagov/give-hidden-input-a-label

Add label for hidden username field
This commit is contained in:
Tom Byers
2021-01-07 10:45:08 +00:00
committed by GitHub

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"}) }}