Accessibility: Improve the color contrast ratio for the input placeholders.

Also, cleans up a bit the CSS removing rules for elements that don't use
placeholders any more.

Fixes #35777.

git-svn-id: https://develop.svn.wordpress.org/trunk@36619 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia
2016-02-22 23:28:43 +00:00
parent bf528d321d
commit b6d18747fc
6 changed files with 45 additions and 30 deletions

View File

@@ -234,9 +234,17 @@ textarea[readonly] {
background-color: #eee;
}
:-moz-placeholder,
.wp-core-ui :-moz-placeholder {
color: #a9a9a9;
::-webkit-input-placeholder {
color: #72777c;
}
::-moz-placeholder {
color: #72777c;
opacity: 1;
}
:-ms-input-placeholder {
color: #72777c;
}
.form-invalid input, .form-invalid input:focus,