[wp-trac] [WordPress Trac] #38142: Media modal: handle keyboard focus when closing the modal
WordPress Trac
noreply at wordpress.org
Sun Sep 25 13:38:02 UTC 2016
#38142: Media modal: handle keyboard focus when closing the modal
--------------------------+----------------------------------------
Reporter: afercia | Owner: afercia
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.7
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: accessibility, javascript
--------------------------+----------------------------------------
Changes (by afercia):
* keywords: needs-patch => has-patch
* owner: => afercia
* status: new => assigned
* milestone: Awaiting Review => 4.7
Comment:
[attachment:38142.diff] is a first pass. Removes an old hack for Opera 12
that prevented to correctly get `document.activeElement`, see [22665].
Feedback welcome. Since it relates also to the insertion of images in
TinyMCE, I'm going to /cc @azaozz :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38142#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list