It's neat that WordPress now automatically adds the loading="lazy" attribute to images. My question is: Does WP now also have a built-in JS polyfill for browsers that don't support the loading attribute? CanIUse.com reports less than 75% global browser support of the attribute.

1 Answer 1


No, it doesn't.

Browsers that do not support the attribute will just continue loading images like normal, so it wasn't really necessary to include one.

If you want to add one yourself, there are others available that you could include yourself, such as this one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.