Administration: Better accessibility for the "Post locked" indicator.

- hides the locked icon from assistive technologies
- adds hidden text to indicate the post is locked
- moves the info about who's currently editing to the top of the title table cell

Props mariovalney.
Fixes #38185.


git-svn-id: https://develop.svn.wordpress.org/trunk@38965 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia
2016-10-26 17:58:34 +00:00
parent 16768b39cf
commit 29e75c5d77
2 changed files with 28 additions and 20 deletions

View File

@@ -555,15 +555,13 @@ tr.wp-locked .locked-indicator {
width: 16px;
}
tr.wp-locked .locked-indicator:before {
tr.wp-locked .locked-indicator-icon:before {
color: #82878c;
content: "\f160";
display: inline-block;
float: left;
font: normal 20px/1 dashicons;
speak: none;
vertical-align: middle;
margin-left: 0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
@@ -581,7 +579,7 @@ tr .locked-info {
}
tr.wp-locked .locked-info {
margin-top: 8px;
margin-top: 4px;
height: auto;
opacity: 1;
}