[wp-trac] [WordPress Trac] #32510: Add HTML5 Tags to WordPress

WordPress Trac noreply at wordpress.org
Sun Jan 17 23:52:53 UTC 2016


#32510: Add HTML5 Tags to WordPress
-------------------------------------+--------------------------------
 Reporter:  aznadesign               |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Login and Registration   |     Version:  2.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  ui, accessibility
-------------------------------------+--------------------------------
Changes (by afercia):

 * keywords:  has-patch => has-patch needs-refresh


Comment:

 The `required` attribute is a boolean attribute, doesn't need a value.
 http://www.w3.org/TR/html5/forms.html#the-required-attribute

 Autofocus too is a boolean attribute
 http://www.w3.org/TR/html5/forms.html#autofocusing-a-form-control:-the-
 autofocus-attribute
 but it should be used carefully, and generally avoided. If really, really,
 necessary then it should be disabled for mobile devices.

 See for example the discussion on autofocus on #29102.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32510#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list