summaryrefslogtreecommitdiffstats
path: root/template/en/default/account/prefs/account.html.tmpl
diff options
context:
space:
mode:
authorMukhtar Ali <alim94@uni.coventry.ac.uk>2015-12-09 23:31:09 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2015-12-09 23:31:09 +0100
commite6ce904282071f8ac79b80cd20d28aa368b20abd (patch)
tree6c5e175a8c29c0620525f5d0042a0a339760540b /template/en/default/account/prefs/account.html.tmpl
parentcb36753dc1de6712349cd03006fa6f3514ee4122 (diff)
downloadbugzilla-e6ce904282071f8ac79b80cd20d28aa368b20abd.tar.gz
bugzilla-e6ce904282071f8ac79b80cd20d28aa368b20abd.tar.xz
Bug 1041959: Turn all labels for input fields in user preferences into <label> elements
r=LpSolit
Diffstat (limited to 'template/en/default/account/prefs/account.html.tmpl')
-rw-r--r--template/en/default/account/prefs/account.html.tmpl30
1 files changed, 17 insertions, 13 deletions
diff --git a/template/en/default/account/prefs/account.html.tmpl b/template/en/default/account/prefs/account.html.tmpl
index af1df315e..ddfc79aaf 100644
--- a/template/en/default/account/prefs/account.html.tmpl
+++ b/template/en/default/account/prefs/account.html.tmpl
@@ -21,10 +21,10 @@
</td>
</tr>
<tr>
- <th>Password:</th>
+ <th><label for="old_password">Password:</label></th>
<td>
<input type="hidden" name="old_login" value="[% user.login FILTER html %]">
- <input type="password" name="old_password">
+ <input type="password" name="old_password" id="old_password">
</td>
</tr>
<tr>
@@ -34,24 +34,26 @@
[% IF user.authorizer.can_change_password %]
<tr>
- <th>New password:</th>
+ <th><label for="new_password1">New password:</label></th>
<td>
- <input type="password" name="new_password1">
+ <input type="password" name="new_password1" id="new_password1">
</td>
</tr>
<tr>
- <th>Confirm new password:</th>
+ <th><label for="new_password2">Confirm new password:</label></th>
<td>
- <input type="password" name="new_password2">
+ <input type="password" name="new_password2" id="new_password2">
</td>
</tr>
[% END %]
<tr>
- <th>Your real name (optional, but encouraged):</th>
+ <th>
+ <label for="realname">Your real name (optional, but encouraged):</label>
+ </th>
<td>
- <input size="35" name="realname" value="[% realname FILTER html %]">
+ <input size="35" name="realname" id="realname" value="[% realname FILTER html %]">
</td>
</tr>
@@ -79,11 +81,13 @@
[% ELSE %]
<tr>
<th>
- [% IF Param('emailsuffix') %]
- New login:
- [% ELSE %]
- New email address:
- [% END %]
+ <label for="new_login_name">
+ [% IF Param('emailsuffix') %]
+ New login:
+ [% ELSE %]
+ New email address:
+ [% END %]
+ </label>
</th>
<td>
<input size="35" id="new_login_name" name="new_login_name"