WordPress/wp-includes/js/thickbox
Andrea Fercia fd1f45a7cf Accessibility: Improve accessibility for the Plugin details modal.
The plugin details modal can be invoked from several screens. There's now a new
`.open-plugin-details-modal` CSS class to be used in combination with the
`.thickbox` CSS class that adds everything needed for accessibility.

- Adds an ARIA role `dialog` and an `aria-label` attribute to the modal
- Adds a `title` attribute to the iframe inside the modal
- Constrains tabbing within the modal
- Restores focus back in a proper place when closing the modal

Also, improves a bit the native Thickbox implementation: it should probably be
replaced with some more modern tool but at least keyboard focus should be moved
inside the modal.

Fixes #33305.
Built from https://develop.svn.wordpress.org/trunk@36964


git-svn-id: http://core.svn.wordpress.org/trunk@36932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 22:37:26 +00:00
..
loadingAnimation.gif
macFFBgHack.png Use ImageOptim to losslessly smush our images. About half a MB in savings! fixes #22381. props waldojaquith 2012-11-07 18:49:10 +00:00
thickbox.css Accessibility: Improve accessibility for the Plugin details modal. 2016-03-10 22:37:26 +00:00
thickbox.js Accessibility: Improve accessibility for the Plugin details modal. 2016-03-10 22:37:26 +00:00