Skip to main content
Checks for lazy loading on below-fold images
Rule IDimages/lazy-loading
CategoryImages
ScopePer-page
Severityinfo
Weight3/10

Solution

Use loading=‘lazy’ on images below the fold to defer loading until needed. This improves initial page load and saves bandwidth. Native lazy loading is supported by all modern browsers. Don’t lazy load above-fold images (especially LCP candidates). Consider loading=‘eager’ for critical images.

Enable / Disable

Disable this rule

squirrel.toml
[rules]
disable = ["images/lazy-loading"]

Disable all Images rules

squirrel.toml
[rules]
disable = ["images/*"]

Enable only this rule

squirrel.toml
[rules]
enable = ["images/lazy-loading"]
disable = ["*"]