[wp-trac] [WordPress Trac] #52387: adjacent_image_link returns a link with no accessible text

WordPress Trac noreply at wordpress.org
Tue Feb 9 17:25:33 UTC 2021


#52387: adjacent_image_link returns a link with no accessible text
-------------------------------------+----------------------------
 Reporter:  joedolson                |       Owner:  antpb
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.7
Component:  Media                    |     Version:  2.5
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:  accessibility
-------------------------------------+----------------------------
Changes (by antpb):

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


Comment:

 In [changeset:"50274" 50274]:
 {{{
 #!CommitTicketReference repository="" revision="50274"
 Media: Make `adjacent_image_link()` include alt text when returning an
 image.

 When using the `adjacent_image_link()` function there is a condition that
 will return a linked image. Previously, the returned image was sent
 without alt attributes.

 Now, `adjacent_image_link()` will include alt attributes of the image's
 title when an image is returned.

 Props joedolson, Mista-Flo, sabernhardt.
 Fixes #52387.
 }}}

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


More information about the wp-trac mailing list