[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:27:02 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        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  accessibility
--------------------------+------------------------------

Comment (by joedolson):

 Patch uses the image title, on two grounds:

 1) The image title will always be present, where the alt attribute is not.
 2) The image title represents the target of the link, where the alt
 attribute represents the image itself.

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


More information about the wp-trac mailing list