WebAIM - Web Accessibility In Mind

E-mail List Archives

Using high contrast styles in a site

for

From: Tom Livingston
Date: Sep 12, 2019 9:08AM


Hello list,

A coworker found an example on a website where a user could switch the
site to use a high contrast mode. Does having a high contrast mode
on a web site allow for the creation of content that initially doesn't pass
color contrast tests?

For example, if a brand color doesn't pass contrast tests, could it
still be used as is in the 'normal' version of the site but then
altered to pass in a high contrast mode (via css). Is this treatment
acceptable from an accessibility stand point?

I am looking for factual information to be able to use against this
type of thing as it doesn't feel right to me personally, but if this
type of thing is acceptable then I need to be able to tell designers I
work with that they need to always plan for a high contrast mode.

Any help would be appreciated.

--

Tom Livingston | Senior Front End Developer


#663399