[wp-trac] [WordPress Trac] #49174: Incorrect usage of <label> in wp-signup.php

WordPress Trac noreply at wordpress.org
Sat Jan 11 23:25:19 UTC 2020


#49174: Incorrect usage of <label> in wp-signup.php
-------------------------------------+-------------------------------------
 Reporter:  audrasjb                 |      Owner:  (none)
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  Login and Registration   |    Version:
 Severity:  normal                   |   Keywords:  good-first-bug needs-
  Focuses:  accessibility,           |  testing needs-patch
  multisite                          |
-------------------------------------+-------------------------------------
 There is a duplicate/wrong use of `<label>` in wp-signup.php:
 https://core.trac.wordpress.org/browser/branches/5.3/src/wp-
 signup.php#L201

 The text "Privacy:" is not a label but rather a section title in my
 opinion. Ideally, it could be transformed into a proper heading. By the
 way, a very quick fix would be to simply remove the <label> HTML tag that
 wraps this text.

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


More information about the wp-trac mailing list