[wp-trac] [WordPress Trac] #15080: Comment Form Should use HTML5 input types for better accessibility
WordPress Trac
noreply at wordpress.org
Wed Mar 13 11:20:50 UTC 2013
#15080: Comment Form Should use HTML5 input types for better accessibility
---------------------------------------------+------------------
Reporter: jorbin | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.6
Component: Accessibility | Version: 3.0
Severity: normal | Resolution:
Keywords: has-patch twentythirteen commit |
---------------------------------------------+------------------
Comment (by esmi):
semantically, it's really bad practice
No - it isn't. The spec actually says" The label element may contain at
most one descendant input element". The keywords being "at least one". It
is perfectly valid to have more than 1 label attached to a form control.
The "Your email address..." line applies directly to the email input. The
"your are logged in as" line should, logically, be associated to the Name
input whilst the allowed tags content needs to be associated with the
textarea.
'''All''' text within form tags '''must''' be within labels - otherwise SR
users will be forced to make 2 passes (one on forms mode, the other in
virtual cursor/reading mode). That, of course, assumes that the users are
even aware that there is plain text in the form. Most will have no idea
that this additional, informational, content is present as most SRs enter
forms mode automatically on hitting the form tag or the first form
control.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15080#comment:53>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list