Skip to content
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

W3 Validator errors when "Load images on scroll" turned on #316

Nate82 opened this Issue Sep 27, 2016 · 2 comments


None yet
3 participants
Copy link

Nate82 commented Sep 27, 2016

Not sure if it's a big deal but it throws an error for each image on a page:
The sizes attribute may be specified only if the srcset attribute is also present.


This comment has been minimized.

Copy link

Nikeo commented Sep 28, 2016

Thanks for reporting.
@eri-trabiccolo, do you have any idea for a possible fix ? thanks


This comment has been minimized.

Copy link

eri-trabiccolo commented Sep 28, 2016

Well yeah, where we replace the srcset with data-srcset in PHP we can do the same with the sizes attribuite and then revert it in the smartload js.
Should be fine.
rock&roll men! 😀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.