[wp-trac] [WordPress Trac] #27403: Improve UI for linking areas of Customizer preview to corresponding controls (desktop and mobile)

WordPress Trac noreply at wordpress.org
Tue Dec 20 22:04:24 UTC 2016


#27403: Improve UI for linking areas of Customizer preview to corresponding
controls (desktop and mobile)
-------------------------+--------------------------------------------
 Reporter:  westonruter  |       Owner:  westonruter
     Type:  enhancement  |      Status:  closed
 Priority:  high         |   Milestone:  4.7
Component:  Customize    |     Version:  3.9
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:  ui, accessibility, javascript
-------------------------+--------------------------------------------

Comment (by westonruter):

 In [changeset:"39622"]:
 {{{
 #!CommitTicketReference repository="" revision="39622"
 Customize: Fix visible edit shortcuts for `wp_nav_menu()` instances using
 the `menu` arg (such as in the Custom Menu widget) instead of the
 `theme_location` arg.

 Also fix logic for `focus-control-for-setting` handler to focus on the
 first control (lowest `priority` value) associated with a given setting
 instead of the last control encountered when iterating over all controls,
 as this ensures the first control in a `nav_menu` section is focused
 rather than the last one.

 Props westonruter, sirbrillig.
 See #27403.
 Fixes #39101.
 }}}

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


More information about the wp-trac mailing list