[wp-trac] [WordPress Trac] #33060: Screen readers: moving focus and animations (the Publish box)

WordPress Trac noreply at wordpress.org
Tue Jul 21 18:19:44 UTC 2015


#33060: Screen readers: moving focus and animations (the Publish box)
----------------------------+----------------------------------------
 Reporter:  afercia         |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  4.2
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  accessibility, javascript
----------------------------+----------------------------------------
Changes (by afercia):

 * keywords:   => has-patch


Comment:

 Please notice the proposed patch here assumes patch
 https://core.trac.wordpress.org/attachment/ticket/33059/33059.2.patch to
 be already in.

 The patch does two things:

 - when opening the panels, move focus when the animation is complete
 - moves focus back to the Edit links when clicking OK or Cancel

 Many other things should be done for accessibility here, but they're out
 of the scope of this ticket, for example:
 - moving back focus to the Edit links should be complete before the
 sliding up animation starts, there's no guarantee for this and I'm a bit
 reluctant to use setTimeout
 - logically related inputs should be grouped in fieldset elements with a
 proper legend
 - non-link links used as UI controls should be buttons
 - some of these things should be done also for the Comment Status box in
 comment.php. will open a new ticket

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


More information about the wp-trac mailing list