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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user