[wp-trac] [WordPress Trac] #33228: Customizer initial focus

WordPress Trac noreply at wordpress.org
Sat Aug 1 13:34:02 UTC 2015


#33228: Customizer initial focus
--------------------------+--------------------------------------------
 Reporter:  afercia       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Customize     |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui, accessibility, javascript
--------------------------+--------------------------------------------
Changes (by afercia):

 * keywords:   => has-patch


Comment:

 The proposed patch tries to use JavaScript to move focus to the Customizer
 only when necessary, i.e. when the customizer loaded is used. The initial
 focus is moved on the overlay container, in a similar way WordPress
 already does for some modal dialogs.
 No more need for `setTimeout()`, just use the customizer loader `loaded()`
 callback.

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


More information about the wp-trac mailing list