Closed boyum closed 7 years ago
Can you open an issue for this on the axe-core project please https://github.com/dequelabs/axe-core
If you can reproduce it with axe-core, that is. If it's limited to axe-cli, we'll want to document it here. I mention that because I've seen differences in what gets returned by axe-cli depending on the driver (ex. PhantomJS or Chrome).
The aXe Chrome extension does not find any violations on the same page. I will try using the npm package tomorrow, to see if that finds anything.
@boyum did you ever run your code with axe-core to find out? I agree that axe-cli should report the contrast ratio and colors in the result–I was surprised to find it was super light on reporting.
No, I never did, sorry. Will really try to remember this tomorrow, haha.
@marcysutton axe-core returns no violations, as it should.
closing due to no issue
I think that means there is an issue with axe-cli–it was returning issues that axe-core wasn't.
@boyum can you provide us with a test case so we can debug those issues? An HTML file would be ideal so we can isolate your contrast results with axe-cli.
Unfortunately, I cannot seem to reproduce this error anymore, on the exact same page. I don't think it was, but it might very well have been a user error.
However, I might have discovered something else: Axe-cli run with Hyper (https://github.com/zeit/hyper) consequently returns 3 issues on http://orkide.preprod.acos.no, while Command Prompt and PowerShell returns only one issue. I'll file this as a seperate issue if you want me to.
Keep up the good work!
I haven't really looked into the maths at this one, but I suspect that this isn't correct.
I get this error:
On this part of the page (specifically the dates):
Having these color values (contrast ratio: 12.7:1):
It would be nice if the cli returned the values it calculated. In this case, it might be triggered by the font-size, which is 16px.