Open mzlock opened 8 years ago
We'd be looking for a contrast ratio of 4.5:1 for WCAG AA
iiiiinteresting! This would be fun.
Ca11y's default styles should absolutely pass this test.
But with regard to user styles, should this be a concern of Ca11y? To me this seems like an external thing. I think the best thing to do would be to expound on this in the README and provide some links and recommendations.
Issue a warning if the user chooses colors that aren't accessible.
Sass warnings: http://www.sitepoint.com/using-sass-error-warn-and-debug-directives/
Sass contrast checker: https://gist.github.com/FStop/8959422
This is definitely in the "shoot for the moon" column, but thought I'd add it.