[wp-trac] [WordPress Trac] #15080: Comment Form Should use HTML5 input types for better accessibility

WordPress Trac noreply at wordpress.org
Wed Mar 13 13:28:18 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 sscovil):

 @esmi: What @georgestephanis was referring to was my latest patch
 (15080.8.diff), in which I removed the `for` attribute from the labels.
 That is semantically wrong.

 The issue raised by @obenland was that, by moving the helper text into
 labels, this could mess with the styling in some themes -- it actually
 does, in Twenty Thirteen, due to the following CSS:

 `#commentform label[for="author"], #commentform label[for="email"],
 #commentform label[for="url"], #commentform label[for="comment"] { float:
 left; padding: 5px 0; width: 100px; }`

 I think this is an important issue to resolve, but I also agree with
 @jorbin that it is beyond the scope of this particular ticket.

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


More information about the wp-trac mailing list