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.

git-svn-id: https://develop.svn.wordpress.org/trunk@36879 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia
2016-03-07 22:28:15 +00:00
parent 6012464446
commit 137bcc1fca
3 changed files with 35 additions and 21 deletions
+1
View File
@@ -837,6 +837,7 @@ hr {
}
abbr.required,
span.required,
.file-error,
.widget-control-remove:hover,
.row-actions .delete a:hover,
+7 -1
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;
}