summaryrefslogtreecommitdiffstats
path: root/template/en/default/flag
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2006-04-18 16:58:44 +0200
committerwurblzap%gmail.com <>2006-04-18 16:58:44 +0200
commit794419cacad6de57a10228a4f839a4ed5c44d9ed (patch)
tree0489f9fd849075571d42a26e966bd64db650193c /template/en/default/flag
parent6ec3903ce315493dc6cc3ded2d9c6c69b0dfc8a2 (diff)
downloadbugzilla-794419cacad6de57a10228a4f839a4ed5c44d9ed.tar.gz
bugzilla-794419cacad6de57a10228a4f839a4ed5c44d9ed.tar.xz
Bug 281691: Misused <label>'s cause screen reader problems.
Patch by Marc Schumann <wurblzap@gmail.com>, r=LpSolit, a=justdave
Diffstat (limited to 'template/en/default/flag')
-rw-r--r--template/en/default/flag/list.html.tmpl11
1 files changed, 7 insertions, 4 deletions
diff --git a/template/en/default/flag/list.html.tmpl b/template/en/default/flag/list.html.tmpl
index 83992617a..7a92f1277 100644
--- a/template/en/default/flag/list.html.tmpl
+++ b/template/en/default/flag/list.html.tmpl
@@ -98,8 +98,9 @@
[% flag.setter.nick FILTER html %]:
</td>
<td>
- <label title="[% type.description FILTER html %]">
- [%- type.name FILTER html FILTER no_break %]</label>
+ <label title="[% type.description FILTER html %]"
+ for="flag-[% flag.id %]">
+ [%- type.name FILTER html FILTER no_break -%]</label>
</td>
<td>
<select id="flag-[% flag.id %]" name="flag-[% flag.id %]"
@@ -140,7 +141,8 @@
<tr>
<td>&nbsp;</td>
<td>
- <label title="[% type.description FILTER html %]">
+ <label title="[% type.description FILTER html %]"
+ for="flag_type-[% type.id %]">
[%- type.name FILTER html FILTER no_break %]</label>
</td>
<td>
@@ -179,7 +181,8 @@
[% END %]
<tr>
<td colspan="2">
- addl. <label title="[% type.description FILTER html %]">
+ addl. <label title="[% type.description FILTER html %]"
+ for="flag_type-[% type.id %]">
[%- type.name FILTER html FILTER no_break %]</label>
</td>
<td>