mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 14:47:02 +00:00
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:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user