-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
axe-core Error: Cannot read property 'filter' of undefined #2483
Comments
Can reproduce this. Seems the issue is with color contrast and the very long horizontal scroll of the Burp captured package output. We try to calculate the rect of the long string of text and calculate it using the full width and not the width of the container, causing our code to think it's much further to the right than it is. |
This error also occurs on https://www.nrk.no/sorlandet/fargesvake-ser-ikke-rod-t--onsker-seg-gul-1.15125048 if you need another repro case :) |
For https://www.nrk.no/sorlandet/fargesvake-ser-ikke-rod-t--onsker-seg-gul-1.15125048 Raw Lighthouse CLI JSON report: https://pastebin.pl/view/a1fa102e Did not get any errors in the terminal (verbose mode). |
This runs into an issue with lighthouse accessibility scores See dequelabs/axe-core#2483
This runs into an issue with lighthouse accessibility scores See dequelabs/axe-core#2483
I'm also seeing this error on my website when trying to run a lighthouse a11y test on desktop or mobile https://soceng.netlify.app/ |
This is also present on our company website: Alkemy Reproduction:
|
I have tested both https://www.nrk.no/sorlandet/fargesvake-ser-ikke-rod-t--onsker-seg-gul-1.15125048 and https://www.alkemydev.com/ and found that the current axe version (v4.0.2) does not produce the error. Looking deeper it looks like both these issues were fixed in v4.0.0, specifically with a fix to handle text truncation (which appear in both sites in the mobile views). For Lighthouse this means they will need to update to v4.0.0 to resolve these issues. As for the original issue, it is not caused by text truncation and will be fixed in v4.1.0. |
Verified in the latest develop code (v4.0.2)- and for the test snippet: |
Verified with the fix, from the develop branch code: (dated 11/11/2020 - with commit changes (3c2429b) |
@bnbabu55 try with Chrome 91. If you're still seeing the issue then, it's a different root cause. |
Running Lighthouse accessibility on this url, fails due axe-core error.
Actual:
Expectation: Stop failing!!
My runtime settings
The text was updated successfully, but these errors were encountered: