[wp-trac] [WordPress Trac] #14819: Gallery shortcode output does not validate.

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 9 14:17:28 UTC 2010

#14819: Gallery shortcode output does not validate.
 Reporter:  jameslaws     |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Validation    |     Version:  3.0.1          
 Severity:  normal        |    Keywords:                 
 I was validating a sites markup when I realized that the gallery shortcode
 output does not validate where know "caption" exists due to the lack of an
 associated value. Basically a <dt> must be followed by at least one <dd>.

 Not sure if dl is the best tag to use for outputting galleries since I
 imagine lot's of people exclude captions from their galleries. Not sure
 what the best solution is at the moment.


 This is my first submission so be gentle.

Ticket URL: <http://core.trac.wordpress.org/ticket/14819>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list