Bug 23820: (QA follow-up) Make label clickable for checkbox
authorKatrin Fischer <katrin.fischer.83@web.de>
Wed, 1 Jul 2020 11:30:18 +0000 (11:30 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 20 Jul 2020 15:45:31 +0000 (17:45 +0200)
By adding an id the checkbox is selected when the label is clicked
enhancing usability.

Also adds a colon : to the label.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt

index 8473127..c266fe1 100644 (file)
                                 </select>
                             </li>
                             <li>
-                                <label for="default_patron_home">Pickup at patron's home library when possible</label>
-                                <input type="checkbox" name="default_patron_home"/>
+                                <label for="default_patron_home">Pickup at patron's home library when possible:</label>
+                                <input type="checkbox" id="default_patron_home" name="default_patron_home"/>
                             </li>
                         </ol>
                         <h2 style="padding: 0 1em;">Members</h2>