[wp-trac] [WordPress Trac] #43352: Make html5 standard rather than opt in for theme development

WordPress Trac noreply at wordpress.org
Mon Feb 19 11:36:11 UTC 2018


#43352: Make html5 standard rather than opt in for theme development
-----------------------------+-----------------------------
 Reporter:  kkalvaa          |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Themes           |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:  template         |
-----------------------------+-----------------------------
 Currently when you want to have WordPress output valid HTML5 code for
 certain elements ('search-form', 'comment-form', 'comment-list',
 'gallery', 'caption') you have to specifically add support in
 functions.php via add_theme_support( 'html5', […]) to opt in for use in
 your theme.

 I propose to make these 5 elements HTML5 by default, HTML5 support in
 modern browsers are more than adequate and most, if not all, modern themes
 use HTML5 code. The HTML5 standard is also stable.

 WordPress should output these elements in HTML5 by default rather than
 having developers opt in, by now the situation should be the other way
 around, you should opt out if you for some unknown reason would rather not
 have HTML5 code.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43352>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list