[wp-trac] [WordPress Trac] #47146: Live search does not announce results to assistive technologies

WordPress Trac noreply at wordpress.org
Mon Sep 23 12:19:05 UTC 2019


#47146: Live search does not announce results to assistive technologies
-------------------------------------+-------------------------------------
 Reporter:  anevins                  |       Owner:  afercia
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.3
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-screenshots          |     Focuses:  accessibility,
  wpcampus-report has-patch commit   |  javascript
-------------------------------------+-------------------------------------
Changes (by afercia):

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


Comment:

 In [changeset:"46239" 46239]:
 {{{
 #!CommitTicketReference repository="" revision="46239"
 Accessibility: Media: Make screen readers announce the Media search
 results.

 - adds audible messages via `wp.a11y.speak()` to announce the search
 results
 - removes a `keyup` event that was there only to support old browsers
 - removes `aria-modal="true"` from the media modal dialog as it prevents
 the ARIA live regions to be perceived by screen readers
 - triggers the search only after 2 ASCII characters have been typed

 Props anevins, antpb, aduth, loreleiaurora, afercia.
 Fixes #47146.
 }}}

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


More information about the wp-trac mailing list