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

WordPress Trac noreply at wordpress.org
Thu May 11 23:10:52 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):

 To clarify from an a11y perspective: closing the form after a successful
 search would be fine if only there was a suitable place to move focus back
 to. If we move focus back to the toggle button, then screen readers
 wouldn't announce the `speak` message "City updated..." because they would
 start announcing again the toggle button...
 I wouldn't know where else we could move focus back.

 Unrelated: just noticed when clicking the "Cancel" button-link, it takes a
 background `#eee` inherited from `button:active`. I think that's because
 the button should use only the class `button-link` and not `button button-
 link`.

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


More information about the wp-trac mailing list