[wp-trac] [WordPress Trac] #40735: Events widget form should close after successful search

WordPress Trac noreply at wordpress.org
Wed May 17 21:46:16 UTC 2017


#40735: Events widget form should close after successful search
----------------------------+--------------------------------
 Reporter:  iandunn         |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  ui, accessibility
----------------------------+--------------------------------

Comment (by afercia):

 So, as per the Slack conversation linked above, if the form really needs
 to be closed after a successful search (I have my doubts this would be a
 better UX) then the only place where moving focus back makes sense is the
 toggle button. To give a chance screen readers to announce the
 `wp.a11y.speak()` message after the successful search instead of starting
 to announce the toggle button, the only thing we can do is add the
 parameter `assertive` to the `wp.a11y.speak()` call.
 Not 100% sure this would fully work from an accessibility perspective, it
 would need some testing to make sure it doesn't introduce an accessibility
 regression.

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


More information about the wp-trac mailing list