Accessibility: Improve readability by removing unnecessary italic font style.

Per Web Content Accessibility Guidelines 2.0, big chunks of italic text should be avoided.
Same applies to UI controls, since they're meant to be comfortably readable by the largest possible audience, e.g.: label elements.

Removes italic font style from:
- the Quick Edit / Bulk Edit forms
- the Recovery Mode plugin error details
- the Image Editor inline help

Props birgire, audrasjb, SergeyBiryukov, melchoyce, estelaris, sabernhardt, xkon, nrqsnchz, afercia.
See #47327.


git-svn-id: https://develop.svn.wordpress.org/trunk@47304 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia
2020-02-18 15:30:10 +00:00
parent 82ddcbf707
commit 5133f6b779
4 changed files with 11 additions and 12 deletions
-7
View File
@@ -436,7 +436,6 @@ table.media .column-title .filename {
#commentsdiv .comments-box thead td {
background: transparent;
padding: 0 7px 4px;
font-style: italic;
}
#commentsdiv .comments-box tr:last-child td {
@@ -1020,11 +1019,6 @@ tr.inline-edit-row td,
text-transform: uppercase;
}
.inline-edit-row fieldset span.title,
.inline-edit-row fieldset span.checkbox-title {
font-style: italic;
}
/* Specific Elements */
.inline-edit-row fieldset .inline-edit-date {
float: left;
@@ -1318,7 +1312,6 @@ ul.cat-checklist {
.plugins .paused .error-display p,
.plugins .paused .error-display code {
font-size: 90%;
font-style: italic;
color: rgba( 0, 0, 0, 0.7 );
}
+5 -1
View File
@@ -1053,7 +1053,11 @@ border color while dragging a file over the uploader drop area */
.imgedit-help {
display: none;
font-style: italic;
padding-bottom: 8px;
}
.imgedit-help.imgedit-restore {
padding-bottom: 0;
}
/* higher specificity than buttons */