1
0
mirror of https://github.com/discourse/discourse.git synced 2025-03-05 18:59:22 +00:00

A11Y: links change username input to its label ()

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

@ -8,7 +8,7 @@
</div> </div>
<div class="control-group"> <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"> <div class="controls">
{{text-field value=newUsername id="change_username" classNames="input-xxlarge" maxlength=maxLength autofocus="autofocus" insert-newline="changeUsername"}} {{text-field value=newUsername id="change_username" classNames="input-xxlarge" maxlength=maxLength autofocus="autofocus" insert-newline="changeUsername"}}
</div> </div>