[wp-trac] [WordPress Trac] #62548: Redundant "for" in wp-admin dashboard

WordPress Trac noreply at wordpress.org
Sat Nov 23 12:32:15 UTC 2024


#62548: Redundant "for" in wp-admin dashboard
----------------------------+-----------------------------
 Reporter:  kkmuffme        |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:
 Severity:  trivial         |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 {{{
 <label for="dashboard_right_now-hide">
 <input class="hide-postbox-tog" name="dashboard_right_now-hide"
 type="checkbox" id="dashboard_right_now-hide"
 value="dashboard_right_now"/>At a Glance
 </label>
 }}}

 The for= is redundant and can be removed, since the input is wrapped in
 the label
 There are a couple other ones there with the same issue

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62548>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list