[wp-trac] [WordPress Trac] #22237: Add keyboard shortcuts for collapse/expand, panel-back, and close to the Customizer

WordPress Trac noreply at wordpress.org
Tue Apr 19 00:56:22 UTC 2016


#22237: Add keyboard shortcuts for collapse/expand, panel-back, and close to the
Customizer
-------------------------------------+-------------------------------------
 Reporter:  designsimply             |       Owner:  celloexpressions
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  4.6
Component:  Customize                |     Version:  3.4
 Severity:  normal                   |  Resolution:
 Keywords:  good-first-bug has-      |     Focuses:  accessibility,
  patch                              |  javascript
-------------------------------------+-------------------------------------
Changes (by celloexpressions):

 * keywords:  good-first-bug needs-patch => good-first-bug has-patch
 * milestone:  Future Release => 4.6


Comment:

 [attachment:22237.diff] refreshes @purcebr's latest patch for current
 trunk.

 This is really smooth. `esc` closes the current section or panel, and is
 the only keyboard shortcut added here (it doesn't close or collapse the
 panel). Also noting some of the initial concerns in the accessibility team
 chat linked above, the exited section/panel is focused after a section is
 closed, so you can quickly get back into the section or panel by pressing
 enter after pressing escape.

 This should be ready for commit.

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


More information about the wp-trac mailing list