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

WordPress Trac noreply at wordpress.org
Wed Jan 27 22:24:44 UTC 2021


#52387: adjacent_image_link returns a link with no accessible text
---------------------------+-----------------------------
 Reporter:  joedolson      |      Owner:  (none)
     Type:  defect (bug)   |     Status:  assigned
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Media          |    Version:  2.5
 Severity:  normal         |   Keywords:  needs-patch
  Focuses:  accessibility  |
---------------------------+-----------------------------
 The function `adjacent_image_link()`, used by `previous_image_link()` and
 `next_image_link()`, either returns a text link (if the `$text` parameter
 has a value) or a linked image. If the value returned is a linked image,
 the image is returned with no alt attribute, resulting in an empty link.

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


More information about the wp-trac mailing list