[wp-trac] [WordPress Trac] #27402: Add aria-describedby to image gallery output

WordPress Trac noreply at wordpress.org
Sat Nov 1 21:46:52 UTC 2014


#27402: Add aria-describedby to image gallery output
----------------------------------------+-----------------------------
 Reporter:  joedolson                   |       Owner:  wonderboymusic
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  4.1
Component:  Gallery                     |     Version:  3.9
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  has-patch 4.0-early commit  |     Focuses:  accessibility
----------------------------------------+-----------------------------
Changes (by wonderboymusic):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"30161"]:
 {{{
 #!CommitTicketReference repository="" revision="30161"
 In `gallery_shortcode()`, when the `link` attribute is equal to `file`,
 make sure to pass `$attr` as the 6th (!) argument, not 5th, to
 `wp_get_attachment_link()`.

 Props bradyvercher.
 Fixes #27402.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27402#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list