Skip to content
AnswerWell geo Documentation

Research · 9 min read · Answerwell

Lighthouse Web Audits, Baseline Features, and Legacy JavaScript

What Chrome Developers document about Lighthouse audit categories, diagnostic Baseline reporting, and reducing legacy JavaScript payloads.

This page summarizes Chrome Developers documentation for Lighthouse audits: automated checks grouped into performance, best practices, accessibility, SEO, progressive web app (PWA), Performance insights, and newer agentic checks. Most individual audit pages in that catalog are short references to audit source code and deeper guides; a smaller set explains diagnostic behavior (especially Baseline and library detection) or gives actionable build-time guidance for Legacy JavaScript.

Lighthouse audit categories: what each group checks

Section titled “Lighthouse audit categories: what each group checks”

Lighthouse organises work into parallel audit families. Each family has its own index-style doc URL path on developer.chrome.com:

Category Typical focus (from audit page titles in the catalog) Example audit docs
Performance Load speed, main-thread work, network weight, images, fonts, caching Avoid an excessive DOM size, Largest Contentful Paint, Total Blocking Time
Best practices HTTPS, HTTP versions, console errors, vulnerable libraries, viewport meta tag Does not use HTTPS, Browser errors were logged to the console, Baseline Features
Accessibility Focus, landmarks, labels, tab order, offscreen content Interactive controls are keyboard focusable, HTML5 landmark elements are used to improve navigation
SEO Snippets, legibility, links, HTTP status, tap targets Document does not have a meta description, Page has unsuccessful HTTP status code
PWA Installability, offline behavior, service workers, mobile load Does not register a service worker that controls page and start url, Page load is not fast enough on mobile networks
Performance insights DevTools-aligned insight reports (third parties, cache, INP, legacy JS) Performance, Legacy JavaScript
Agentic browsing Declarative metadata for forms (informational today) Forms missing declarative WebMCP

When you open a failing audit in a Lighthouse report, the matching page usually states the audit name, points to source code for that audit, and lists follow-up reading (for example Reduce the Scope and Complexity of Style Calculations on the DOM size page).

Diagnostic audits: reports that inform without treating every issue as a hard failure

Section titled “Diagnostic audits: reports that inform without treating every issue as a hard failure”

Several catalog entries are explicitly diagnostic: they surface inventory or compatibility data rather than a single pass-or-fail story.

Baseline Features audit: web feature IDs and Baseline status

Section titled “Baseline Features audit: web feature IDs and Baseline status”

The Baseline Features audit is documented as a diagnostic check:

This audit provides the following information:

The web feature ID (from the web-features package), linked to the web feature ID’s entry on webstatus.dev. The Baseline status, either Limited availability, Newly available, or Widely available. Where one occurrence of the feature’s usage was found in the site’s source code.

The audit also gives you information about web features used in third-party scripts, and any active extensions.

— Chrome Developers, Baseline Features

Use this when you need to see which web platform features your first-party and third-party scripts rely on, and how those features map to Baseline tiers (Limited availability, Newly available, Widely available). Related reading linked from that audit includes Baseline on web.dev and the WebDX Community Group material referenced on the same page.

Detected JavaScript libraries audit: inventory of front-end libraries

Section titled “Detected JavaScript libraries audit: inventory of front-end libraries”

The Detected JavaScript libraries audit is another diagnostic entry:

This audit simply lists all the front-end JavaScript libraries your page uses.

— Chrome Developers, Detected JavaScript libraries

Pair this inventory with security-oriented audits such as Includes front-end JavaScript libraries with known security vulnerabilities, which references snyk’s Vulnerability DB.

Forms missing declarative WebMCP: informational agentic audit

Section titled “Forms missing declarative WebMCP: informational agentic audit”

The Forms missing declarative WebMCP audit documents current behavior as follows:

Lighthouse identifies <form> elements that don’t have both a toolname and a tooldescription. For now, this audit is informational and does not result in any warnings.

— Chrome Developers, Forms missing declarative WebMCP

Treat this as forward-looking metadata coverage for forms, not a production regression signal today.

Legacy JavaScript audit: Baseline-aligned builds and smaller bundles

Section titled “Legacy JavaScript audit: Baseline-aligned builds and smaller bundles”

The richest fix-oriented guidance in this catalog slice is the Legacy JavaScript Performance insight, also summarized on the Performance insights hub:

Flags outdated JavaScript code that may be slower and unnecessary for most modern browsers.

— Chrome Developers, Performance

Why polyfills and transforms still show up on modern sites

Section titled “Why polyfills and transforms still show up on modern sites”

Chrome Developers describe the trade-off on Legacy JavaScript:

Polyfills and transforms let you use features that may not be Baseline—also known as Limited availability features. Baseline doesn’t discourage you from using Limited availability features, but features which are either Baseline Newly or Widely available can often be used without them. The Legacy JavaScript audit lets you know where there are opportunities to improve performance by adopting features which are Baseline.

Consider modifying your JavaScript build process to not transpile Baseline features, unless you know you must support older browsers.

— Chrome Developers, Legacy JavaScript

In plain terms: the audit highlights transpilation and polyfills you may no longer need if your supported browsers already match Baseline-capable engines—extra bytes and parse cost without user benefit.

Browserslist baseline widely available as a default target

Section titled “Browserslist baseline widely available as a default target”

The same page recommends aligning bundler targets with Baseline via Browserslist:

ES6 is broadly supported in all browsers. If you’re using a combination of a module bundler and a JavaScript transpiler—such as Babel and its @babel/preset-env preset. The vast majority of websites do not need to support older, ES5-only browsers.

A common tool used with bundlers and Babel is Browserslist, which accepts a variety of queries specified in natural language, which are then translated to a list of targeted browser environments. For example, you can target Baseline Widely available features with this Browserslist query anywhere a Browserslist config can be found:

baseline widely available

Baseline Widely available is a suggested default for new web projects. As always, however, you should evaluate the browsers used to access your website. One such tool for this is the Google Analytics Baseline Checker.

— Chrome Developers, Legacy JavaScript

Related audits and insights that overlap the same theme include Duplicated JavaScript and performance audits Remove unused JavaScript and Minify JavaScript.

Performance audits and insights: network, rendering, and interactivity

Section titled “Performance audits and insights: network, rendering, and interactivity”

Performance audits (scored in the Performance category) and Performance insights (DevTools insight panel) share themes: critical requests, payload size, third parties, caching, and Core Web Vitals-style metrics.

Network weight, redirects, and modern HTTP

Section titled “Network weight, redirects, and modern HTTP”
Concern Lighthouse audit page
Total download size Avoid enormous network payloads
Redirect chains on landing pages Avoid multiple page redirects
HTTP/2 usage Does not use HTTP/2 for all of its resources
HTTP/2 / HTTP insight Modern HTTP
Compression Enable text compression
Cache lifetimes Serve static assets with an efficient cache policy, Use efficient cache lifetimes

Redirect guidance cross-links Redirections in HTTP and HTTPS uplift via Does not redirect HTTP traffic to HTTPS.

Concern Lighthouse audit page
Critical request depth Avoid chaining critical requests
Render-blocking CSS/JS Eliminate render-blocking resources
Large DOM trees Avoid an excessive DOM size
Non-composited animations Avoid non-composited animations
Forced layout / reflow Forced reflow
Dependency ordering Network dependency tree

The Forced reflow insight page points to Avoid large, complex layouts and layout thrashing and external explainers on layout thrashing linked from that doc.

Concern Lighthouse audit page
Offscreen images Defer offscreen images
Image encoding Efficiently encode images
Aspect ratio Displays images with incorrect aspect ratio
Web fonts / FOIT Ensure text remains visible during webfont load
Third-party summary Reduce the impact of third-party code, 3rd parties
Third-party facades Lazy load third-party resources with facades

The cluster explicitly documents audit pages for Largest Contentful Paint, Total Blocking Time, Reduce JavaScript execution time, Minimize main thread work, Reduce server response times, and the INP breakdown insight—each with links to deeper metric guides such as Largest Contentful Paint and Optimize Interaction to Next Paint on the respective pages.

Accessibility, SEO, PWA, and hygiene audits

Section titled “Accessibility, SEO, PWA, and hygiene audits”

Beyond performance, the same Lighthouse catalog documents specialized checks:

For unused CSS and JavaScript, Chrome DevTools documentation cross-links Lighthouse audits to the Coverage workflow:

See Coverage: Find unused JavaScript and CSS.

— Chrome Developers, Find invalid, overridden, inactive, and other CSS

That pairs with Remove unused CSS and Find Unused JavaScript And CSS Code With The Coverage Tab In Chrome DevTools referenced from the unused JavaScript audit page.

Common mistakes when acting on Lighthouse results

Section titled “Common mistakes when acting on Lighthouse results”
  1. Treating every audit as equally urgent — diagnostic entries such as Baseline Features and Detected JavaScript libraries inform planning; prioritize scored regressions in Performance and user-facing Best practices first.
  2. Shipping ES5 for hypothetical browsers — Legacy JavaScript exists because many build pipelines still transpile Baseline features; validate real traffic before keeping legacy output.
  3. Chasing a single metric — LCP, TBT, and INP insights (Largest Contentful Paint, Total Blocking Time, INP breakdown) respond to different bottlenecks; fixing only image weight may not help long tasks.
  4. Ignoring third parties — separate audits and insights (Reduce the impact of third-party code, 3rd parties) exist because embeds dominate main-thread and network cost.
  5. Breaking accessibility while optimizing — performance wins that remove labels, landmarks, or focus order still fail dedicated accessibility audits such as Interactive elements indicate their purpose and state.
  1. Open your page in Chrome, run Lighthouse from DevTools (or use the workflow described in Record load performance), and note failing audits by name.
  2. For each failure, open the matching audit page from Chrome Developers Lighthouse docs and follow its linked guides (for example Responsive Web Design Basics for viewport issues).
  3. Run Baseline Features and Legacy JavaScript together when tuning Babel or @babel/preset-env targets.
  4. Use DevTools Coverage as described in Find invalid, overridden, inactive, and other CSS to validate Remove unused JavaScript and Remove unused CSS fixes.
  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact sentence you are asking about, and we will correct or clarify it.