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

WordPress Trac noreply at wordpress.org
Tue Oct 10 14:09:36 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 afercia):

 Working on a patch for the theme/plugin editor modal and fighting a bit
 with IE11 and JAWS 17. Seems JAWS doesn't like a modal dialog that appears
 ''during'' page load.

 Comparing with this example: http://pauljadam.com/demos/aria-role-
 alertdialog.html (linked from https://www.w3.org/WAI/GL/wiki/Using_aria-
 alertdialog_to_Identify_Errors), the code is basically the same I'm using
 on the patch, the only difference is the `alertdialog` in this example
 appears after user activation and it works nicely.

 Instead, when the dialog appears on page load, JAWS doesn't announce
 anything.
 Worth noting the default screen readers behavior on page load is starting
 reading the page content from the beginning. They probably have troubles
 in getting the alertdialog because there's no change in the DOM, the
 dialog is there since the beginning.

 Needs more work and testing but I'd suggest to display the modal on DOM
 ready to start with.

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


More information about the wp-trac mailing list