-
Notifications
You must be signed in to change notification settings - Fork 779
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
Runtime issue: TypeError: Cannot read property 'cells' of undefined #2674
Comments
Thanks for the issue. We'll look into getting it fixed. |
Note about the issue: For some reason the |
I am experiencing the same error with this page: https://coronavirus.dc.gov/vaccinatedc "axe-core Error: Cannot read property 'cells' of undefined" This was via Lighthouse 7.2.0 |
Another page that repros this cleanly: https://zenbears.co.uk/ |
Another page that repros this issue: https://allfront.io I'm seeing this on web.dev, chrome 94 (canary) as well as Chrome 92. |
I usually get a similar error, But, if I use firefox in playwright, then I get If I use webkit in playwright, then I do not get any error. |
So I'm finally able to get around to looking at this issue. I've tested the latest axe-core v4.3.3 on each of the sites listed in this issue thread but I was unable to get the error to throw on any of the pages (just opening the page and running |
Here's my repro:
axe.run(document, {
elementRef: true,
runOnly: {
type: 'tag',
values: ['wcag2a','wcag2aa',],
},
resultTypes: ['violations', 'inapplicable']
}).then(ret => {
console.log(ret);
window.axeret = ret;
}) hopefully you see this:
and here's more of the results object: |
Also.. i noticed that when i invoke This is probably zone.js which does some very aggressive promise polyfilling and something that Lighthouse had to work around before. (At least in a previous version…) it redefined I'm not 100% sure zone plays a role for this particular bug, but bringing it up cuz it's been a doozy for us |
@paulirish Thanks for that. It appears it only happens on mobile viewport sizes. Now that I can reproduce I can make sure I fix the issue for that site as well. |
Confirmed that #3172 does not error for https://allfront-marketing-site-qa.web.app/fintech |
Expectation: Color contrast checker step goes smoothly and reports the errors
Actual: Color contrast checker throws error instead
Motivation: Lighthouse accessibility audit is not ran properly because of this issue
<< Please describe how you encountered this issue >>
This was first reported to Lighthouse issues (GoogleChrome/lighthouse#11721), but apparently it's related to axe tool instead.
This error happens when running axe on https://www.kayak.com/Cheap-New-York-Car-Rentals.15830.cars.ksp mobile version.
The text was updated successfully, but these errors were encountered: