mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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
This commit is contained in:
@@ -82,9 +82,9 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_
|
||||
|
||||
<fieldset class="misc-pub-section misc-pub-comment-status" id="comment-status-radio">
|
||||
<legend class="screen-reader-text"><?php _e( 'Comment status' ); ?></legend>
|
||||
<label class="approved"><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php _ex( 'Approved', 'comment status' ); ?></label><br />
|
||||
<label class="waiting"><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php _ex( 'Pending', 'comment status' ); ?></label><br />
|
||||
<label class="spam"><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php _ex( 'Spam', 'comment status' ); ?></label>
|
||||
<label><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php _ex( 'Approved', 'comment status' ); ?></label><br />
|
||||
<label><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php _ex( 'Pending', 'comment status' ); ?></label><br />
|
||||
<label><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php _ex( 'Spam', 'comment status' ); ?></label>
|
||||
</fieldset>
|
||||
|
||||
<div class="misc-pub-section curtime misc-pub-curtime">
|
||||
|
||||
Reference in New Issue
Block a user