NSHipster/nshipster.com

Warning color fails WCAG accessibility test in light mode

kaishin opened this issue · 1 comments

Currently the score is a measly 1.44.

Something more along the lines of #b28106 passes the test with a ratio of 3.04.

screenshot-2020-04-13

mattt commented

Yikes! You're right, that's far too light. Sorry to introduce such a glaring A11y issue in your great article. #b28106 looks good (3.11 against #f2f2f7 according to https://webaim.org/resources/contrastchecker/; not sure about the discrepancy). I'll patch that in now.