[wp-trac] [WordPress Trac] #32540: Media modal: impossible to unselect multiple selection using keyboard only

WordPress Trac noreply at wordpress.org
Mon Jun 1 10:03:16 UTC 2015


#32540: Media modal: impossible to unselect multiple selection using keyboard only
--------------------------+----------------------------------------
 Reporter:  afercia       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  4.0
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  accessibility, javascript
--------------------------+----------------------------------------

Comment (by afercia):

 Looks like when pressing Enter on the "check icon", `checkClickHandler`
 doesn't run at all and `toggleSelectionHandler` runs instead. Has to do
 with the way events are bound here and events bubbling. Probably
 `toggleSelectionHandler` needs to return early if the event target is the
 check icon.

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


More information about the wp-trac mailing list