FI-2077: Improve colors and contrasts for a11y #392
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Addresses the following issues:
Disabled buttons with the contained style have color contrast issues: font weight increased to mitigate this issue. I don't think colors can be changed much without compromising the disabled status indicator.
Hover state of the buttons has too low of a visual change and should be made more clearly visible: changed the color on text style buttons to improve contrast between the button and the background
The green 'pass' and red 'fail' icons' visual contrast for users with protanopia and deuteranopia is extremely low: increased the saturation on the red color to improve contrast (red:
rgb(211, 47, 47)
, green:rgb(76, 175, 80)
)Tabs in the Test results are shown in normal weight font while the tabs in the configuration messages are in a bold font, which makes the text appear darker almost to the point of having the same visual contrast as the active tabs color: after trying a number of different colors, they all seem to have this issue. Since there is a bottom border than indicates active status, I think this is OK to leave as is.