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.

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


git-svn-id: http://core.svn.wordpress.org/trunk@38643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia
2016-10-02 14:38:31 +00:00
parent 3c814b5468
commit 5ab4753564
12 changed files with 33 additions and 56 deletions

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 0 0 2px;
top: 0;
right: -1px;
position: relative;
margin-right: -1px;
padding-left: 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;
}