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

WordPress Trac noreply at wordpress.org
Sun Feb 11 15:39:22 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:"42694"]:
 {{{
 #!CommitTicketReference repository="" revision="42694"
 Media: After [42693], update HTML4 markup in `img_caption_shortcode()` to
 avoid an empty ID attribute as well.

 Add a unit test for `aria-describedby` in `img_caption_shortcode()`.

 See #34595.
 }}}

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


More information about the wp-trac mailing list