squirrelscan
GitHub

Lazy Loading

Checks for lazy loading on below-fold images

Checks for lazy loading on below-fold images

Rule ID images/lazy-loading
Category Images
Scope Per-page
Severity info
Weight 3/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

[rules]
disable = ["images/lazy-loading"]

Disable all Images rules

[rules]
disable = ["images/*"]

Enable only this rule

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

Type to search…

↑↓ navigate↵ openesc close