.md to any audit URL, or see /llms.txt for the full machine-readable index.
Plain-English deep-dives on the Lighthouse audits that fail most often, with concrete fixes and code you can copy. Every page covers one audit ID, what it measures, why Google cares, common causes, and prescriptive fixes, written for developers solving real problems, not SEO marketers.
Why these pages exist
Google's Lighthouse audit produces ~100 distinct checks. The official documentation is technically correct but optimized for completeness, not for "I have 30 minutes to fix this before deploy." These pages strip the audits down to:
- What the audit actually measures
- What the official "Good" / "Needs improvement" / "Poor" thresholds are
- The 3–5 fixes that resolve 90% of real-world failures, with code
- How to verify the fix without re-running the entire Lighthouse suite
Each page is also mirrored as raw markdown at /audits/<slug>.md for AI agents and LLM-based search to consume cleanly.
Performance audits
These directly affect Core Web Vitals and your Google ranking.
- Largest Contentful Paint (LCP), how fast the biggest visible element renders. Core Web Vital, target under 2.5 s.
- Cumulative Layout Shift (CLS), unexpected layout movement. Core Web Vital, target under 0.1.
- Image elements do not have explicit width and height,
<img>tags with no size, so content jumps when the image loads. Add the real width and height, keepheight: autoin CSS. Failed by 47.2% of the stores in our Shopify study. - Total Blocking Time (TBT), main-thread blocking during load. Predicts how janky your page feels.
- First Contentful Paint (FCP), when the first text or image paints. Target under 1.8 s.
- Reduce unused JavaScript, bytes shipped but never executed. The most common bundle-bloat killer.
- Legacy JavaScript, "avoid serving legacy JavaScript to modern browsers": polyfills and Babel transforms modern browsers do not need. Fix with a modern browserslist and build target. Failed by 78.4% of the stores in our Shopify study.
- Forced reflow, "forced reflow while executing JavaScript": scripts that read layout right after changing the DOM, forcing synchronous layout. Fix by batching reads before writes. Failed by 77.3% of the stores in our Shopify study.
- Network dependency tree, formerly "avoid chaining critical requests": chains like HTML to CSS to font that must finish before first paint. Fix by removing a level from the longest chain. Failed by 93.7% of the stores in our Shopify study.
- Avoid enormous network payloads, total transfer size too large: good ends at about 2,667 KiB. Cut the largest rows first: images, video, JavaScript, third-party tags. Failed by 80.7% of the stores in our Shopify study.
- Document request latency, the first request for your HTML: redirects, a server response over 600 ms ("Server responded slowly"), or no compression. Replaces "reduce initial server response time". Fix by caching the HTML at the edge. Failed by 19.7% of the stores in our Shopify study.
- Reduce unused CSS, stylesheets with selectors the page never uses. Strip with PurgeCSS or Tailwind JIT, inline critical, defer the rest.
- Eliminate render-blocking resources, CSS and synchronous scripts that delay first paint.
- Serve images in next-gen formats, JPEG/PNG that would be smaller as WebP or AVIF.
- Enable text compression, text assets served without gzip or Brotli.
- Ensure text remains visible during webfont load, web fonts without
font-displayhide your text while they download. One CSS descriptor fixes it. - Speed Index, how quickly the page becomes visually complete. Target under 3.4 s; fix render-blocking, fonts, and hero images.
- Serve static assets with an efficient cache policy, short or missing
Cache-Controlon static files, so repeat visitors re-download them. The most-failed audit in our Shopify study at 91.4%. - Avoid multiple page redirects, redirect chains that cost a round trip each before your HTML arrives. Also covers
too many redirectsloops.
Accessibility audits
These affect screen reader users and your Lighthouse Accessibility score.
- Document does not have a main landmark, the page lacks a
<main>element. Screen readers can't jump to primary content. - Links do not have a discernible name, icon-only links with no accessible name. Screen readers announce them as just "link".
- Heading elements not in sequentially-descending order, headings skip levels (h1 → h3). Breaks the document outline.
- Background and foreground colors do not have sufficient contrast, text fails WCAG AA contrast requirements.
- Image elements do not have alt attributes, missing
alton<img>. Breaks accessibility AND image SEO. - Tap targets are not sized appropriately, retired from Lighthouse, but WCAG 2.5.8 still requires 24px and 44px is the practical target.
- [aria-hidden="true"] elements contain focusable descendents, closed drawers and off-screen carousel slides that are hidden from screen readers but still in the tab order. Fix with
inert. Failed by 21.6% of the stores in our Shopify study. - Links rely on color to be distinguishable, links inside body text with no underline and less than 3:1 contrast with the text around them. Underline links in paragraphs and rich text.
SEO audits
These directly affect how Google indexes and ranks your page.
- Document does not have a meta description, missing
<meta name="description">. Tanks SERP click-through rate. - Document does not have a valid rel=canonical, also known as a "non-canonical URL" or "canonical missing" error in other SEO tools. Add one self-referential canonical per page.
- Document does not have a title element, the strongest on-page SEO signal and the SERP headline.
- Document does not have a valid hreflang, missing or malformed hreflang for multi-language sites. Self-reference, x-default, reciprocal return links.
- Links do not have descriptive text, generic anchors like "click here" and "learn more". Name the destination; anchor text is a ranking signal for the linked page.
- Minimize main-thread work, the total time the browser main thread spent busy during load, split into Script Evaluation, Style & Layout, parsing and the rest. It is what Total Blocking Time scores the user-visible cost of. Failed by 75.8% of the stores in our Shopify study.
- Links are not crawlable, anchors with no resolvable
href:href="#",javascript:void(0), or a click handler on adiv. Googlebot cannot follow them. Failed by 30.1% of the stores in our Shopify study. - Buttons do not have an accessible name, icon-only buttons (close, menu, play, carousel dots) with no accessible name. Screen readers announce them as just "button".
Best Practices audits
These affect security, trust, and your Lighthouse Best Practices score.
- Does not use HTTPS, page served over HTTP or with mixed content.
- Displays images with incorrect aspect ratio, an
<img>stretched into a box of the wrong shape. Useheight: auto, or keep the box and addobject-fit: cover. Failed by 19.3% of the stores in our Shopify study. - Browser errors were logged to the console, failed requests and uncaught exceptions during load. Failed by 90.3% of the stores in our Shopify study.
- ERR_BLOCKED_BY_CLIENT, "Failed to load resource: net::ERR_BLOCKED_BY_CLIENT": a request cancelled inside the browser by an ad blocker, Chrome, DevTools, or a Lighthouse blocked-URL rule. Fix the lab run, then make the page resilient.
- ERR_HTTP2_PROTOCOL_ERROR, "Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR": the server or a proxy reset or cut off an HTTP/2 response. Reproduce with curl, find the hop, fix the headers or the timeout.
- No 'Access-Control-Allow-Origin' header is present on the requested resource, the "blocked by CORS policy" console error: the other server did not allow your origin. Test with curl, send the header from the server on every response, or call the API from your own backend.
- Missing source maps for large first-party JavaScript, a script of 500 KiB or more from your own site with no source map. Turn on production source maps and deploy the
.mapfiles. Failed by 16.0% of the stores in our Shopify study. - Issues were logged in the Issues panel in Chrome DevTools, cookie, mixed content, CSP, cross-origin and heavy-ad issues raised by Chrome during load. Failed by 72.1% of the stores in our Shopify study.
- Unload event listeners are deprecated, the row under "Uses deprecated APIs" that old jQuery and vendor scripts trigger, and the console message "Permissions policy violation: unload is not allowed in this document". Chrome stopped firing unload in 2026. Replace it with pagehide and visibilitychange. The deprecations audit failed on 55.0% of the stores in our Shopify study.
Agentic Browsing audits
The newest Lighthouse category: how well AI agents can read and use the page. Google marks it as under development.
- llms.txt does not follow recommendations,
/llms.txtthat times out, returns a server error, or is not Markdown with a title and links. A missing file that returns 404 passes. Failed in 75 of 698 analyses on this site over 30 days.
Coming soon
Pages in the pipeline (likely shipping this month):
preload-lcp-image, preloading the LCP element specificallyuses-responsive-images,srcsetand image CDNsefficient-animated-content, replace GIFs with MP4/WebMlink-text, descriptive anchor textmeta-viewport, the mobile viewport tag
How to use this library
If you're staring at a failing Lighthouse audit, find the matching page above and follow its fix steps. Each page is self-contained, you don't need to read them in order.
If you want a tailored brief for your specific URL, paste it at lighthouse-md.com, we'll generate a CLAUDE.md covering every failing audit on your page with ranked offenders and code-level fixes, ready to drop into your repo or open Claude Code with one click.
If you run a Shopify store, the same audit lives inside your admin as the Lighthouse-md Shopify app: weekly Core Web Vitals tracking, CLAUDE.md fix plans for your theme, and answers about your store's speed in Sidekick. 3 audits free.
Data studies
- We ran Lighthouse on 269 Shopify stores: median mobile performance was 48, median LCP 10 seconds, and not one recognizable brand cracked 50. The ranked list of audits nearly every store fails, with a downloadable dataset.
Audit your page now
Paste your URL, get scores plus a CLAUDE.md plan for Claude Code.