Skip to content

Commit

Permalink
[CrOS Wallpaper] Increase contrast in wallpaper control colors
Browse files Browse the repository at this point in the history
The color contrast between text+icon and the background for the
inactive state for the "Center" and "Center Cropped" buttons in the
Wallpaper modal[1] is low enough to cause accessibility issues for vision
impaired users at a ratio of 3.61 (compare to the minimal acceptable
ratio of 4.5 to meet W3C guidelines).

The contrast provided by the new color for both the text and icon, i.e.
Google Grey 700 aka #5F6368 aka rgb(95, 99, 104), provides an acceptable
ratio of 6.05.

[1] http://screen/hKAXfVsRLVn

------

Result of this change: http://screen/dE3ipM3e1fA

Note: newly colored text/icon in red rectangle

Bug: 910362
Change-Id: Ica3b7b484f5ad64a83b259f9fa7c4d3e92c957df
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1670358
Commit-Queue: Jordy Greenblatt <jordynass@chromium.org>
Reviewed-by: May Lippert <maybelle@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671402}
  • Loading branch information
Jordy Greenblatt authored and Commit Bot committed Jun 21, 2019
1 parent e16dfde commit ab22078
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ html[dir='rtl'] #current-wallpaper-more-options {

#current-wallpaper-more-options #center,
#current-wallpaper-more-options #center-cropped {
color: rgb(128, 134, 139);
color: rgb(95, 99, 104);
}

#current-wallpaper-more-options #center.disabled,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ab22078

Please sign in to comment.