10.2. Ensure that the content can be read when images are turned off

When images are turned off, the content of the page should remain visible and readable. No information should be lost and there should be sufficient contrast between the foreground and background.

In other words, all the content should be visible and readable:

Tip

When text is placed over a background image, make sure to provide an alternative background color that will ensure text readability in the absence of the background image.

background: black url(../images/fond-sombre.png) repeat-x;

This replacement color can be inherited from a parent.

Warning

Particular attention should be paid to the readability of text alternatives for images embedded in the HTML when images are not displayed.

Comments

Add a comment

Required fields are marked *.

Back to top