[wp-trac] [WordPress Trac] #62926: Redundant "for" in nav-menus

WordPress Trac noreply at wordpress.org
Sun Feb 9 07:56:59 UTC 2025


#62926: Redundant "for" in nav-menus
--------------------------+-----------------------------
 Reporter:  kkmuffme      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Menus         |    Version:
 Severity:  trivial       |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 /wp-admin/nav-menus.php

 {{{
 <label class="bulk-select-button" for="bulk-select-switcher-top">
 <input type="checkbox" id="bulk-select-switcher-top" name="bulk-select-
 switcher-top" class="bulk-select-switcher">
 <span class="bulk-select-button-label">Bulk Select</span>
 </label>
 }}}

 The for= is redundant since the input is nested in the label and can be
 removed

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


More information about the wp-trac mailing list