[wp-trac] [WordPress Trac] #24716: Grid view for the Media Library

WordPress Trac noreply at wordpress.org
Fri Jul 4 17:27:56 UTC 2014


#24716: Grid view for the Media Library
----------------------------+---------------------------------------------
 Reporter:  alexvorn2       |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  4.0
Component:  Media           |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  ui, javascript, administration
----------------------------+---------------------------------------------

Comment (by adamsilverstein):

 [attachment:24716.20.diff] adds keyboard navigation (left and right
 arrows) to the media detail modal. keyboard on the grid via tab/shift tab
 seems reasonable already, although full arrow key support including
 up/down might be nice

 Notes & questions:

 * when navigating the images, the modal is closed and recreated each time
 you change images; can we swap the content in place?
 * in order to properly capture the keyboard events, the inner part of the
 modal needs focus after being opened; this patch puts the focus on the
 first input field in the media details (url) - suggestions?
 * thoughts about adding some visual feedback (briefly highlight left/right
 arrows?) when navigating by keyboard?
 * uses ._once to avoid keyboard race conditions

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


More information about the wp-trac mailing list