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

WordPress Trac noreply at wordpress.org
Sat Aug 1 13:28:51 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                         |   Keywords:
  Focuses:  ui, accessibility, javascript  |
-------------------------------------------+-----------------------------
 Hat tip @folletto for pointing this out.

 When the customizer loads, focus is moved to the "Close X" link. See
 screenshot:

 [[Image(https://cldup.com/KOMuTozeWj.png)]]

 From a visual/UI perspective, this makes difficult to craft a proper focus
 style for the "Close X" (and other controls) since using a "strong" style
 '''and''' having this element always initially focused would draw users'
 attention on this element on Customizer load, which is inappropriate.

 Moreover, as far as I can tell, moving initial focus to the Customizer is
 only necessary when the Customizer gets loaded in the iframe "overlay".
 Instead, when it loads in the normal `customizer.php` page, there's no
 need to change the native focus order.

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


More information about the wp-trac mailing list