w3c / wai-website-design

WAI Website Design and Redesign
3 stars 7 forks source link

Code snippet colors against background #45

Closed haltersweb closed 7 years ago

haltersweb commented 7 years ago

Using code snippet syntax coloring is very important. I'm so glad to see it here.

But the different syntax colors might cause contrast problems against the gray.

You could test all the colors, but...

...another option would be to have a button at every code snippet that changes it to black and white. That way you can maintain the semantic color that developers are used to while solving for low vision.

bakkenb commented 7 years ago

I like the option that Adina is suggesting (if it is not to difficult or time consuming to incorporate. Also as long as it does not add to the clutter or complexity of the pages. Giving people these choices are good, but I don't want to sacrifice our streamlined look and feel or add too much complexity to the site.

yatil commented 7 years ago

I agree. Also it is not to much of an hassle to test the colors and make sure they all conform.

lakeen commented 7 years ago

I vote for testing the colors to keep it simple. We're only talking about 3-4 tests.

James-Green commented 7 years ago

Resolution: Eric and Caleb will put the prototype together and Alicia will review the colors that come out. No button to switch to black and white, we'll pick a palette that passes AA.