[wp-trac] [WordPress Trac] #19178: wp-login.php uses <label> without the associated for

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 8 15:25:17 UTC 2011


#19178: wp-login.php uses <label> without the associated for
---------------------------+-----------------------
 Reporter:  ppaire         |       Owner:  nacin
     Type:  defect (bug)   |      Status:  reopened
 Priority:  normal         |   Milestone:  3.3
Component:  Accessibility  |     Version:  3.3
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+-----------------------

Comment (by nacin):

 This isn't bad HTML, AFAIK. `<label><input /></label>` is the implicit way
 of doing the association, but `<label for="">` is then needed for older
 versions of IE to actually tie them together. Doing both, as far as I
 know, is no issue.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19178#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list