7.1. Ensure that the contrast between text or images and background color is sufficient
As a general rule, the colors proposed by default in the graphic charter should not be modified, in order to retain visual consistency throughout the website or application.
You can often let the publishing software handle the styles that are automatically applied to content when pages are displayed.
Nevertheless, it is sometimes useful to define customized colors directly in the content.
In that case, make sure that there is enough contrast between the text color and the background color.
If you are not sure about the contrast, it probably means that there is not enough. In that case, do not hesitate to increase it.
Text that is included in images or rich content, such as animations, also needs to be given sufficient contrast against the background.
If the images or rich content provided for publication do not have sufficient contrast, they should be returned to the person who provided them and a new, optimized version should be obtained.