From d3f419c53c1f47ae9db2336d4c6f925f63cc37a2 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Wed, 1 Jun 2016 17:50:50 +0000 Subject: [PATCH] Accessibility: improve the color contrast in the Edit Comment "Status" box. The current orange and red used for the radio button labels in the Edit Comment "Status" box don't have a sufficient color contrast ratio with the background. Removing the colors improves accessibility and consistency. See #35659, #35622. Fixes #36967. git-svn-id: https://develop.svn.wordpress.org/trunk@37611 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/edit.css | 13 ------------- src/wp-admin/edit-form-comment.php | 6 +++--- 2 files changed, 3 insertions(+), 16 deletions(-) diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css index 1a38e436df..e4aa70f93b 100644 --- a/src/wp-admin/css/edit.css +++ b/src/wp-admin/css/edit.css @@ -634,19 +634,6 @@ span.wp-media-buttons-icon:before { max-width: 100%; } -#poststuff .inside label.spam, -#poststuff .inside label.deleted { - color: red; -} - -#poststuff .inside label.waiting { - color: orange; -} - -#poststuff .inside label.approved { - color: green; -} - .ie8 #poststuff .inside #parent_id, .ie8 #poststuff .inside #page_template { width: 250px; diff --git a/src/wp-admin/edit-form-comment.php b/src/wp-admin/edit-form-comment.php index d4c7ab105b..566b37944f 100644 --- a/src/wp-admin/edit-form-comment.php +++ b/src/wp-admin/edit-form-comment.php @@ -82,9 +82,9 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_
-
-
- +
+
+