[wp-trac] [WordPress Trac] #54731: Make block themes fully support HTML5 by default.

WordPress Trac noreply at wordpress.org
Tue Jan 4 01:15:20 UTC 2022

#54731: Make block themes fully support HTML5 by default.
 Reporter:  costdev                   |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  5.9
Component:  Themes                    |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
Changes (by hellofromTonya):

 * version:   => trunk


 Bringing the conversation here to this ticket to ensure context is here
 and those involved get props.

 Thank you to @joyously
 [https://core.trac.wordpress.org/ticket/54597#comment:27 who made the
 suggestion] and pointed out that #54597 was too focused on
 [https://core.trac.wordpress.org/ticket/54597#comment:27 only block
 content and not non-block content] such as support for `[gallery]` and
 `[caption]` shortcodes.

 [https://core.trac.wordpress.org/ticket/54597#comment:24 I asked the
 >For block themes, do you think that Core should automatically default to
 HTML5 for all content (i.e. block and non-block content)? Or should the
 block theme itself set the non-block content theme supports (as non-block
 themes do)?

 [https://core.trac.wordpress.org/ticket/54597#comment:24 @joyously
 >I think it would be good to force HTML5 for block themes, but that's just
 an opinion.

 [https://core.trac.wordpress.org/ticket/54597#comment:28 @costdev shared]:
 >+1 That block themes should use HTML5 by default.

 [https://core.trac.wordpress.org/ticket/54597#comment:25 @audrasjb
 >As far as I can tell, it would make sense if all block themes could only
 use and provide HTML5 markup. Block themes are a good way to drop non-
 HTML5 support in long term, if possible :)

Ticket URL: <https://core.trac.wordpress.org/ticket/54731#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list