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

WordPress Trac noreply at wordpress.org
Sat Aug 1 15:50:04 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
--------------------------+--------------------------------------------

Comment (by afercia):

 There's probably a better, simpler, way to do this and it's already used
 by the Customizer in other places. Using `visibility: hidden;` and
 `visibility: visible;` allows to hide UI sections and have inner sections
 still visible. It's an interesting method which can be used with "full
 size" overlays.

 In this case, hiding the main body and setting `visibility: visible;` on
 the Customizer overlay would make it the only visible and focusable
 content. It would almost behave like a "normal page", and let browsers
 handle focus and tab order like in a normal page.

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


More information about the wp-trac mailing list