[wp-trac] [WordPress Trac] #34595: Add aria-describedby to improve image/caption relationship

WordPress Trac noreply at wordpress.org
Sun Feb 11 15:20:00 UTC 2018


#34595: Add aria-describedby to improve image/caption relationship
--------------------------+----------------------------
 Reporter:  joedolson     |       Owner:  joemcgill
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.0
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:  accessibility
--------------------------+----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"42693"]:
 {{{
 #!CommitTicketReference repository="" revision="42693"
 Media: Only add `aria-describedby` in `img_caption_shortcode()` if a non-
 empty attachment ID attribute was provided.

 See #34595.
 }}}

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


More information about the wp-trac mailing list