[wp-trac] [WordPress Trac] #42055: Customize Themes: improve the Theme details modal accessibility

WordPress Trac noreply at wordpress.org
Sun Oct 1 13:18:13 UTC 2017


#42055: Customize Themes: improve the Theme details modal accessibility
--------------------------+----------------------------
 Reporter:  afercia       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.9
Component:  Customize     |     Version:  4.8
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  accessibility
--------------------------+----------------------------
Changes (by afercia):

 * keywords:  needs-patch => has-patch


Comment:

 in [attachment:42055.diff]

 - switch back the Theme details modals content to `role="document"`
 - standardizes the modals interaction making the one in the Themes screen
 work as the one in the Customizer
  - adds role="dialog"
  - adds an aria-label "Theme Details"
  - makes the modal overlay focusable
 - set initial focus on the Themes screen modal overlay rather than the
 primary button

 Note: the patch strips out some trailing spaces.

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


More information about the wp-trac mailing list