-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
ImageUsage gatherer: Cannot read property 'tagName' of null #3731
Comments
@patrickhulce I want to work on the issue. |
great thanks for volunteering @AkshayIyer12! Let us know if you run into any issues :) |
@patrickhulce I have done the change locally on my system |
correct @AkshayIyer12 thanks for fixing! next steps for you are to...
|
fixed in #3779 |
@atifwaqar can you report the accessibility bug with a reproducible URL as a separate GitHub issue? DevTools should be updated to current version of Lighthouse in Chrome 65, hits stable ~early March |
@patrickhulce Sure, I'll prepare the reproducible URL and create a separate GH issue this weekend. As of now, I have only a Production server where I can reproduce this issue, but I cant share that link on GH, so i'll create a new test app, where I reproduce the issue. |
Encountered in #2293 on https://www.victoriassecret.com/
Audit error: Required ImageUsage gatherer encountered an error: Cannot read property 'tagName' of null
comes from line 48 where we grab the parentElement of the image
should be
!!element.parentElement && element.parentElement.tagName === 'PICTURE'
lighthouse/lighthouse-core/gather/gatherers/image-usage.js
Lines 34 to 52 in cfc2afe
The text was updated successfully, but these errors were encountered: