[wp-trac] [WordPress Trac] #47147: Status message not exposed to assistive technologies (in the Image Editor)

WordPress Trac noreply at wordpress.org
Tue Jul 7 13:43:57 UTC 2020


#47147: Status message not exposed to assistive technologies (in the Image Editor)
-------------------------------------------------+-------------------------
 Reporter:  anevins                              |       Owner:  afercia
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.5
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-screenshots wpcampus-report      |     Focuses:  ui,
  has-patch needs-dev-note commit                |  accessibility
-------------------------------------------------+-------------------------
Changes (by afercia):

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


Comment:

 In [changeset:"48375" 48375]:
 {{{
 #!CommitTicketReference repository="" revision="48375"
 Accessibility: Media: Improve accessibility of the status and error
 messages in the Image Editor.

 - improves focus management by moving focus to the notices, if any, or to
 the first "tabbable" element
 - this avoids a focus loss and helps Braille-only and screen magnification
 users to be aware of the messages
 - adds an ARIA role `alert` to all the notices
 - uses `wp.a11y.speak()` to announce messages to assistive technology
 - this way, all visual users will see the messages while assistive
 technology users will get an audible message
 - uses `wp.i18n` for translatable strings in `wp-admin/js/image-edit.js`

 Props anevins, ryanshoover, antpb, SergeyBiryukov, afercia.
 See #20491.
 Fixes #47147.
 }}}

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


More information about the wp-trac mailing list