Make WordPress Core

Opened 10 years ago

Closed 7 years ago

#39058 closed defect (bug) (duplicate)

W3C Validator error: Element dl is missing a required instance of child element dd

Reported by: henry.wright Owned by:
Priority: normal Milestone:
Component: Gallery Version: 4.6.1
Severity: normal Keywords: needs-patch
Cc: Focuses:

Description

The W3C Validator gives an error when using the gallery shortcode. Here's an example:

[gallery link="file" columns="2" size="large" ids="746,745,741,740"]

I believe markup should be:

<dl>
    <dt></dt>
    <dd></dd>
</dl>

Example of what is being output:

<dl>
    <dt></dt>
</dl>

Change History (2)

#1 @desrosj
8 years ago

  • Component GeneralGallery
  • Keywords needs-patch added
  • Milestone Awaiting ReviewFuture Release

I am able to reproduce this when using the Classic Editor, or the Classic block in the new block editor. The theme must not have support for HTML5 galleries.

#2 @pento
7 years ago

  • Milestone Future Release
  • Resolutionduplicate
  • Status newclosed

Duplicate of #47665.

Note: See TracTickets for help on using tickets.