[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:00:02 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 |
---------------------------+-----------------------
Changes (by ppaire):
* status: closed => reopened
* resolution: fixed =>
Comment:
I was going off of what is claimed in the WCAG 2 standards, not based on
personal experience with screen readers.
http://www.w3.org/TR/WCAG20-TECHS/H44.html
They state in http://www.w3.org/TR/WCAG20-TECHS/F68.html that
<label><input /></label> is invalid (granted, the standard was written
years ago as they reference Jaws 7.10 in the documentation). Consequently
it will fail validators that check for WCAG 2 compliance.
I'll move the </label> before the <input /> to fix the HTML unless you
tell me to revert back to the original code.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19178#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list