[wp-trac] [WordPress Trac] #42110: Keyboard focus in Heads up! modal dialog under Appearance >> Editor

WordPress Trac noreply at wordpress.org
Fri Oct 6 19:11:55 UTC 2017


#42110: Keyboard focus in Heads up! modal dialog under Appearance >> Editor
---------------------------+----------------------------
 Reporter:  sami.keijonen  |       Owner:  afercia
     Type:  defect (bug)   |      Status:  assigned
 Priority:  normal         |   Milestone:  4.9
Component:  Customize      |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:  accessibility
---------------------------+----------------------------

Comment (by westonruter):

 @afercia while you're at it, there is some tab constraining also needed
 for the global notification overlays new in the Customizer. See
 [https://github.com/xwp/wordpress-
 develop/blob/3c72ff101f0149fa4fe4c8b68829a37687fb7868/src/wp-admin/js
 /customize-controls.js#L231 todo]. A quick way to throw up such an overlay
 is to put this in your console:

 {{{#!js
 wp.customize.notifications.add( new wp.customize.OverlayNotification(
 'test_tab_constraining', {
     message: 'Will it be constrained?',
     dismissible: true
 } ) );
 }}}

 The gotcha here is that without `dismissible` there aren't actually any
 tabbable elements in the notification's container. So I was not sure the
 best way to go about that.

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


More information about the wp-trac mailing list