[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
Wed Feb 24 07:25:13 UTC 2016


#27403: Improve UI for linking areas of Customizer preview to corresponding
controls (desktop and mobile)
-------------------------+--------------------------------------------
 Reporter:  westonruter  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Widgets      |     Version:  3.9
 Severity:  minor        |  Resolution:
 Keywords:  needs-patch  |     Focuses:  ui, accessibility, javascript
-------------------------+--------------------------------------------

Comment (by westonruter):

 In the current Selective Refresh framework, each placement for a partial
 gets the same tooltip:

 > Shift-click to edit this element.

 For widgets, actually, there is an additional tooltip which is added at
 the initial document ready event:

 > Shift-click to edit this widget.

 However, after the first time the user edits a widget, the widget-specific
 tooltip gets replaced with the generic one.

 I realized that it might be good to introduce a new parameter to
 `WP_Customize_Partial`, like `$inline_edit_tooltip`, which could allow the
 message to be customized for the specific type of partial being shown in
 the preview (e.g. blogname vs widget vs nav menu). But then this one
 message wouldn't be applicable to touch screens or keyboard interaction
 (both of which aren't even possible right now).

 But knowing that this ticket exists to improve the UI for contextual links
 from regions on the page to their corresponding controls, I suppose that
 it wouldn't be a good idea to introduce
 `WP_Customize_Partial::$inline_edit_tooltip` now prematurely if it will be
 deprecated in the next release.

 Agreed?

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


More information about the wp-trac mailing list