[wp-trac] [WordPress Trac] #27822: Editor doesn't use HTML 5 elements for Galleries and Captions when enabled

WordPress Trac noreply at wordpress.org
Tue Apr 15 14:59:45 UTC 2014


#27822: Editor doesn't use HTML 5 elements for Galleries and Captions when enabled
--------------------------------------+-----------------------------
 Reporter:  ScottSmith                |      Owner:
     Type:  defect (bug)              |     Status:  new
 Priority:  normal                    |  Milestone:  Awaiting Review
Component:  Editor                    |    Version:  trunk
 Severity:  normal                    |   Keywords:
  Focuses:  administration, template  |
--------------------------------------+-----------------------------
 If a theme uses HTML 5 Galleries or captions, the editor continues to
 output the HTML 4 elements rather than use HTML 5 elements. Aside from the
 inconsistency, this could create backwards-compatibility issues in the
 future if theme devs start styling the editor based on the HTML 4 elements
 (although most theme devs should use classes to style galleries and
 captions).

 Ideally, in 3.9, the editor should output the same elements for galleries
 and captions both in the editor and front-end.

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


More information about the wp-trac mailing list