WordPress/wp-includes/css
Andrea Fercia 00704114e0 Accessibility: Make the Media modal an ARIA modal dialog.
For a number of years, the Media modal missed an explicit ARIA role and the required attributes for modal dialogs.

This was confusing for assistive technology users, since they may not realize they're inside a dialog, and that consequently the keyboard interactions may be different from the rest of the page. Lack of an explicit label for the dialog was confusing as well, since assistive technology users didn't have an immediate sense of what the dialog is for.

This change makes the Media modal meet the ARIA Authoring Practices recommendations, helping users better understand the purpose and interactions with the modal. Also, it makes sure to hide the rest of the page content from assistive technologies, until support for `aria-modal="true"` improves.

Additionally:
- moves the modal H1 heading to the beginning of the modal content 
- changes the modal left menu position to make visual and DOM order match 
- improves the `wp.media.view.FocusManager` documentation

Fixes #47145.

Built from https://develop.svn.wordpress.org/trunk@45572


git-svn-id: http://core.svn.wordpress.org/trunk@45383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-06-27 12:33:56 +00:00
..
dist
admin-bar-rtl.css
admin-bar-rtl.min.css
admin-bar.css
admin-bar.min.css
buttons-rtl.css
buttons-rtl.min.css
buttons.css
buttons.min.css
customize-preview-rtl.css
customize-preview-rtl.min.css
customize-preview.css
customize-preview.min.css
dashicons.css
dashicons.min.css
editor-rtl.css
editor-rtl.min.css
editor.css
editor.min.css
jquery-ui-dialog-rtl.css
jquery-ui-dialog-rtl.min.css
jquery-ui-dialog.css
jquery-ui-dialog.min.css
media-views-rtl.css
media-views-rtl.min.css
media-views.css
media-views.min.css
wp-auth-check-rtl.css
wp-auth-check-rtl.min.css
wp-auth-check.css
wp-auth-check.min.css
wp-embed-template-ie.css
wp-embed-template-ie.min.css
wp-embed-template.css
wp-embed-template.min.css
wp-pointer-rtl.css
wp-pointer-rtl.min.css
wp-pointer.css
wp-pointer.min.css