Accessibility: Remove the title attributes from the old Media UI.

Also, adds better indication and attributes for the required form fields.
Moves some styles to `deprecated-media.css`.

Props andg, afercia.
Fixes #34944.
Built from https://develop.svn.wordpress.org/trunk@36879


git-svn-id: http://core.svn.wordpress.org/trunk@36846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia
2016-03-07 22:29:26 +00:00
parent d59fdfd951
commit 34ab7ae5ac
10 changed files with 48 additions and 27 deletions

View File

@@ -152,7 +152,8 @@ thead.media-item-info tr {
border: 8px solid #fff;
}
abbr.required {
abbr.required,
span.required {
text-decoration: none;
border: none;
}
@@ -364,9 +365,14 @@ h4.media-sub-title {
}
p.media-types {
margin: 0;
padding: 1em;
}
p.media-types-required-info {
padding-top: 0;
}
tr.not-image {
display: none;
}