Skip to content
This repository has been archived by the owner on Oct 28, 2018. It is now read-only.

Results don't match other color contrast analyzers #38

Open
fstorr opened this issue May 14, 2018 · 1 comment
Open

Results don't match other color contrast analyzers #38

fstorr opened this issue May 14, 2018 · 1 comment

Comments

@fstorr
Copy link

fstorr commented May 14, 2018

I was testing some text (hex code #999999 on a white background) and saw that the result was 2.8:1. I tested the same text in Chrome's dev tools and got a result of 2.85:1. I then tested the same colors in WebAIM's and Level Access' analyzers and they returned the same 2.85:1 result.

Colour Contrast analyser showing a result of 2.8:1

Chrome's dev tools analyzer showing a result of 2.85:1

WebAIM's analyzer showing a result of 2.85:1

Level Access' analyzer showing a result of 2.85:1

I'm using Version 2.4 on macOS 10.13.4.

@ferllings
Copy link
Member

The CCA result is displayed rounded to 1 decimal.
But the pass/fail results are based on the full number.

See w3c/wcag#200 for more details.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants