[wp-trac] [WordPress Trac] #36554: Replace div with button so media attachment modal can be closed with keyboard

WordPress Trac noreply at wordpress.org
Sat Apr 16 22:55:10 UTC 2016


#36554: Replace div with button so media attachment modal can be closed with
keyboard
---------------------------+-----------------------------
 Reporter:  joedolson      |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Media          |    Version:
 Severity:  normal         |   Keywords:  has-patch
  Focuses:  accessibility  |
---------------------------+-----------------------------
 The modal for attaching a media item to a post uses a <div> for a close
 element. Switches to a button.

 Probably should also add some focus management into media.js so that focus
 lands in an appropriate place; not handled in this patch.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36554>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list