Skip to content

Commit

Permalink
Accessibility: After [46337]: make the select elements background whi…
Browse files Browse the repository at this point in the history
…te also on hover, active, and focus states.

See #47477.
See #48128.


git-svn-id: https://develop.svn.wordpress.org/trunk@46340 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
afercia committed Sep 28, 2019
1 parent 8408e42 commit d020b72
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/wp-admin/css/forms.css
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -323,19 +323,16 @@ input[type="radio"].disabled:checked:before {
} }


.wp-admin select:hover { .wp-admin select:hover {
background-color: #f3f5f6;
color: #007cba; color: #007cba;
} }


.wp-admin select:focus { .wp-admin select:focus {
background-color: #f3f5f6;
border-color: #007cba; border-color: #007cba;
color: #016087; color: #016087;
box-shadow: 0 0 0 1px #007cba; box-shadow: 0 0 0 1px #007cba;
} }


.wp-admin select:active { .wp-admin select:active {
background-color: #eee;
border-color: #999; border-color: #999;
box-shadow: none; box-shadow: none;
} }
Expand Down

0 comments on commit d020b72

Please sign in to comment.