PERF002 · Image loading hint
Severity: info
What it checks
Section titled “What it checks”Every <img> element must have an explicit loading attribute. Images missing the loading attribute are flagged.
Why it matters
Section titled “Why it matters”A loading attribute lets the browser defer offscreen images; without it images load eagerly and can delay more important content. Static analysis cannot tell which image is the LCP, so this is advisory.
How to fix
Section titled “How to fix”Add loading="lazy" to offscreen <img> elements (leave the LCP/hero image eager):
<img src="/thumb.jpg" width="320" height="240" loading="lazy" alt="…" />