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

WordPress Trac noreply at wordpress.org
Mon Oct 16 17:58:09 UTC 2017


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

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"41876"]:
 {{{
 #!CommitTicketReference repository="" revision="41876"
 Accessibility: Improve the File Editors interstitial warning.

 The warning displayed upon first visit on the File Editors introduced in
 [41774]
 needs to be the only perceivable content in the page for users of
 assistive
 technologies. It looks like a modal but it's not exactly an ARIA dialog,
 not an
 ARIA alert either, and needs some special treatment.

 - constrains tabbing within the modal
 - uses `wp.a11y.speak()` to make screen readers announce the modal message
 - hides all the other page content from assistive technologies using
 `aria-hidden="true"`

 This way, even if users miss the speak message, the warning is actually
 the only
 perceivable content in the page.

 Fixes #42110.
 }}}

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


More information about the wp-trac mailing list