[wp-trac] [WordPress Trac] #47156: Consider a way to clear the wp.a11y.speak() live regions

WordPress Trac noreply at wordpress.org
Thu Aug 15 13:53:59 UTC 2019


#47156: Consider a way to clear the wp.a11y.speak() live regions
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  5.3
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots          |     Focuses:  accessibility,
  wpcampus-report                    |  javascript
-------------------------------------+-------------------------------------

Comment (by adamsilverstein):

 > However, clearing the live regions shouldn't depend on a specific user
 action or scenario. It would require a more generic solution, preferably
 avoiding setTimeout() which seems to me a very fragile solution by its own
 nature.

 Any ideas for when we should clear the field if not after a delay of x
 seconds? Can we tell when the screen reader has completed speaking?
 Otherwise how can we know the announcement has been spoken before removing
 the message?

 > In most of the cases this is not a problem but, when screen reader users
 continue to navigate the page content by arrowing, they may encounter
 again the text that was previously announced, because this text is
 perceived as normal content by assistive technologies.

 I wonder if we can make the region not show up for users when arrowing
 thru the page?

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


More information about the wp-trac mailing list