How to check the contrast of text and buttons


Evaluate the readability of current reports and interactive components on the real backgrounds of the site.
Showing the colors
Add the colors of the text and background for buttons, fields and errors. Do the test to the size used and on the clear or dark variants.
Check the states
Control overflight, keyboard focus, inactivity and labels displayed on the images. A color that is readable in one state is not necessarily in another.

Correction of the component
Adjust the colors to the source and re-test the pages that use the same component. Add a text indicator where the state is based on the color.
Examples of implementation
Take a service card with a clear button on a photo. Control the text when the photo displayed changes, the focus contour and the difference between the active and deactivated button. Fix the rule used by all the cards.
points of attention
Also check the secondary texts and error messages, often smaller than the titles. A contrast tool helps to check the colors, but try the component in each screen where the background or state may vary.
Points to check before validating
Normal, overflight and focus states are controlled with the funds and sizes actually used.
Control the button in all its states
A white button on a clear photo can become unreadable while the same color works on a united background. Test the text, the focus contour and the active, inactive and overflying states. Repeat the same checks when the screen is recorded on the mobile or the photo is replaced.
For an error message, add a clear text so that the meaning does not depend on the color. Correction the common component rule instead of each button separately.

OneClick Créations Digitales
Editorial team
The OneClick team helps organisations with digital transformation, combining creative and technical expertise.