MD Extensions: A11y: Low Contrast in Search Box |
|||
Issue descriptionWhat steps will reproduce the problem? 1. Navigate to chrome://extensions 2. Run axe-core audit (go/axe-core-chrome-extension) 3. Search field will have low contrast What is the expected result? A11y audit should pass
,
Nov 28 2017
Is there a chance that the test accidentally passes in chrome://settings? It seems to me that both Settings and Extensions have the exact same contrast. Does the tool output the observed contrast values to compare?
,
Nov 28 2017
,
Nov 28 2017
From investigating this further, I've found that the color contrast test doesn't finish in settings, so doesn't fail >_< The contrast issue seems to be that the foreground color is #fbfbfb and background color is #f1f1f1. This doesn't seem right from looking at the screenshot. I'm guessing it's an issue with the a11y check in axe-core. I'm updating the extension so it shows incomplete tests as well as failures. The colors that we have (taken from screenshot) will pass contrast tests except for WCAG AAA which requires 7:1 contrast ratio. https://webaim.org/resources/contrastchecker/?fcolor=C0CAE3&bcolor=2E4FA3
,
Nov 28 2017
Marking this issue as "WontFix" since it's a false positive from the a11y library. Reason this wasn't finishing in settings was that the page was scrolled and the audit couldn't determine the contrast of off-screen items. ¯\_(ツ)_/¯ |
|||
►
Sign in to add a comment |
|||
Comment 1 by hcarmona@chromium.org
, Nov 28 2017