4 ms·
2.54:1 contrast for text which spectacularly fails any accessibility specs. Please don’t do this
by piskov 2y ago
2.54:1 contrast for text which spectacularly fails any accessibility specs.
Please don’t do this
- chrismorgan 2y agoI’d noticed it as 2.58 in Firefox’s dev tools, so when you say 2.54, I’m curious. #ab9ea2 on #ffffff. https://webaim.org/resources/contrastchecker/ https://webaim.org/resources/contrastchecker/ says 2.57, https://contrast-ratio.org/#%23ab9ea2-on-white https://contrast-ratio.org/#%23ab9ea2-on-white says 2.57 and on hover expands that to 2.5785676343306743. I presume Firefox is rounding, while the other two are truncating. Truncating actually feels more useful for how people are too likely to use such things—taking values as low as they can while still complying. The new, superior method is https://www.myndex.com/APCA/ https://www.myndex.com/APCA/. It yields an Lc of 50.4, which is (as you’d expect) wildly unsuitable for body text.
- piskov 2y agoMost likely some typo on my part
- fsckboy 2y agocm/inch:inch ? ok, not what you meant, but it jumped out at me
- kristianp 2y agoAgreed, that is the lightest-grey text I have seen on the web in years. Just use the default text colour, dude.