Bug 35237: (QA follow-up) Set label for attribute to first radio input
Labels with a "for" attribute should reference an existing input, so we should keep the "Page side," "Guide box," and "Guide grid" for attribute pointing to the first corresponding radio input in that row. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
This commit is contained in:
parent
af1730ada1
commit
7a5e8f2d5e
|
|
@ -80,7 +80,7 @@
|
|||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<label for="page_side">Page side: </label>
|
||||
<label for="page_side_front">Page side: </label>
|
||||
[% IF ( page_side ) %]
|
||||
<label for="page_side_front">Front: <input type="radio" name="page_side" id="page_side_front" value="F" /></label>
|
||||
<label for="page_side_back">Back: <input type="radio" name="page_side" id="page_side_back" value="B" checked="checked" /></label>
|
||||
|
|
@ -90,7 +90,7 @@
|
|||
[% END %]
|
||||
</li>
|
||||
<li>
|
||||
<label for="guide_box">Guide box:</label>
|
||||
<label for="guide_box_on">Guide box:</label>
|
||||
[% IF ( guide_box ) %]
|
||||
<label for="guide_box_on">On: <input type="radio" name="guide_box" id="guide_box_on" value="0" /></label>
|
||||
<label for="guide_box_off">Off: <input type="radio" name="guide_box" id="guide_box_off" value="1" checked="checked" /></label>
|
||||
|
|
@ -100,7 +100,7 @@
|
|||
[% END %]
|
||||
</li>
|
||||
<li>
|
||||
<label for="guide_grid">Guide grid:</label>
|
||||
<label for="guide_grid_on">Guide grid:</label>
|
||||
[% IF ( guide_grid ) %]
|
||||
<label for="guide_grid_on">On: <input type="radio" name="guide_grid" id="guide_grid_on" value="1" checked="checked" /></label>
|
||||
<label for="guide_grid_off">Off: <input type="radio" name="guide_grid" id="guide_grid_off" value="0" /></label>
|
||||
|
|
|
|||
Loading…
Reference in New Issue