Quick Overviews on Common Topics
...
Text should be legible
Interactive things should be noticeable (stand off background)
3:1 contrast should exist in all states of a component.
Don’t Rely on Color Alone When Providing Important Information
There are millions of “color blind” people
There are other millions of people who have other vision impairments that affect color perception
Consider whether a Dark and Light version will ever be needed
We don’t have a Dark Mode, but having Light and Dark pairs is a step in that direction.
Avoid embedding text in images
The user can’t use their own tools to remap the colors for better contrast
Expand | ||
---|---|---|
| ||
Legible text
Contrast checking tools: https://webaim.org/resources/contrastchecker/ https://webaim.org/resources/linkcontrastchecker/ Frequently, in Chrome’s Dev Tools, you can just click on a color in the CSS panel to get the contrast value vs. background. Interactive things should be noticeable (stand off background). This means the edges generally need a minimum 3:1 luminance contrast vs. background.
3:1 contrastRemember to design all the states. States you should think about when designing:
Don’t Rely on Color Alone When Providing Important Information Reversing foreground and background colors is an exception here. Consider whether a Dark and Light version will ever be needed Avoid embedding text in images The user can’t use their own tools to remap the colors for better contrast |
...
2. Text should flow
Change viewport width up to 1920 and down to 320. It should still be readable.
Line length is a usability issue but affects some people who have reading disabilities
...