A11Y: links change username input to its label (#12424)

This commit is contained in:
Joffrey JAFFEUX 2021-03-17 15:47:27 +01:00 committed by GitHub
parent 9b4b2149ff
commit cb0427ffdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@
</div>
<div class="control-group">
<label class="control-label">{{i18n "user.username.title"}}</label>
<label for="change_username" class="control-label">{{i18n "user.username.title"}}</label>
<div class="controls">
{{text-field value=newUsername id="change_username" classNames="input-xxlarge" maxlength=maxLength autofocus="autofocus" insert-newline="changeUsername"}}
</div>