[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:47:04 UTC 2011


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

Comment (by azaozz):

 Replying to [comment:5 ppaire]:
 > I was going off of what is claimed in the WCAG 2 standards, not based on
 personal experience with screen readers.

 Yes, as far as I could find that standard is a bit outdated and doesn't
 reflect the current state of most screenreaders (including the build-in
 the browsers screenreaders).

 Unfortunately as @nacin mentions having `<label for="id"><input id="id"
 /></label>` is somewhat common, that's why I didn't reopen the ticket. The
 problems we encountered was some time ago while working on the widgets
 screen: we had to remove the `for="..."` attributes from JS to make it
 work in all browsers.

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


More information about the wp-trac mailing list