WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Removing CSS Background image for legibility anAccessibility requirement?

for

From: JP Jamous
Date: Mar 15, 2022 7:07AM


Ramakrishnan,

Why not remove the background image and test, while leaving the CSS alone?

Is it a WCAG failure?
Of course, because white on white provide no visible content. That fails color contrast big time.

It would not impact screen reader users, as all the content would be in the HTML markup. However, low-vision, color-blind and all sighted users are blocked tremendously from reading white on white.

If the concern is the background image, then you have to validate the color contrast and how is the background impacting the foreground text. Honestly, I am not a fan of background images that contain any text or symbols.

However, if the background image serves as a background color for the page, as long as the color contrast is not impacting the foreground content, you can pass it.