Accessibility: Editor, Publish meta box: remove a stray label and redundant CSS.

Also, adds a `role="button"` attribute to the "Edit" links.

Props iseulde.
Fixes #28411.


git-svn-id: https://develop.svn.wordpress.org/trunk@38700 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia
2016-10-02 14:37:54 +00:00
parent fe0ba53c44
commit 9732c3ff44
3 changed files with 17 additions and 28 deletions
+9 -6
View File
@@ -451,7 +451,7 @@ form#tags-filter {
height: auto !important;
}
#misc-publishing-actions label[for="post_status"]:before,
#post-body .misc-pub-post-status:before,
#post-body #visibility:before,
.curtime #timestamp:before,
#post-body .misc-pub-revisions:before,
@@ -459,20 +459,22 @@ span.wp-media-buttons-icon:before {
color: #82878c;
}
#post-body .misc-pub-post-status:before,
#post-body #visibility:before,
.curtime #timestamp:before,
#post-body .misc-pub-revisions:before {
font: normal 20px/1 dashicons;
speak: none;
display: inline-block;
padding: 0 2px 0 0;
top: 0;
left: -1px;
position: relative;
margin-left: -1px;
padding-right: 3px;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none !important;
}
#post-body .misc-pub-post-status:before {
content: "\f173";
}
#post-body #visibility:before {
@@ -481,6 +483,7 @@ span.wp-media-buttons-icon:before {
.curtime #timestamp:before {
content: "\f145";
position: relative;
top: -1px;
}
-15
View File
@@ -458,21 +458,6 @@ fieldset label,
vertical-align: baseline;
}
#misc-publishing-actions label[for="post_status"]:before {
content: "\f173";
display: inline-block;
font: normal 20px/1 dashicons;
speak: none;
left: -1px;
padding: 0 5px 0 0;
position: relative;
top: 0;
text-decoration: none !important;
vertical-align: top;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
#pass-strength-result {
background-color: #eee;
border: 1px solid #ddd;