Re: Images that fail contrast

On 08/04/2021 12:03, Ms J wrote:
> 3. If a background image of an icon is used as a label for a button, and 
> the button does have an aria-label, I would assume this still comes 
> under non text content, as when the CSS image is not displayed, the 
> information isn’t there for low vision users. But would it also fail 
> contrast guidelines? Images of text do, but this is an image of an icon...
> 

I would hope the rules treated the background image as the foreground 
content that it really is.  Otherwise one could avoid the need for 
adequate contrast by using a background image of a text label.

Received on Thursday, 8 April 2021 15:03:21 UTC