[tor-bugs] #18110 [Metrics]: Wrap form input elements in label tags

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 20 08:32:42 UTC 2016


#18110: Wrap form input elements in label tags
-----------------------------+-----------------
     Reporter:  dcf          |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  Medium       |  Milestone:
    Component:  Metrics      |    Version:
     Severity:  Normal       |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |    Sponsor:
-----------------------------+-----------------
 This patch puts {{{<label>}}} {{{</label>}}} tags around form input
 elements. In general this means that you can click anywhere on the text
 label for an element to activate the elements. In some cases this does not
 change behavior much; e.g. clicking on "Start date:" simply focuses the
 corresponding textbox. But it makes a big difference for checkboxes
 because you can click anywhere on the text to toggle the checkbox.

 There were already {{{label}}} elements in place for the "Start date:" and
 "End date:" fields, but they did not encompass the {{{input}}} element, so
 I don't think they were doing anything before.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18110>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list