Sobes.tech
Junior

What is Lighthouse?

sobes.tech AI

Answer from AI

Lighthouse is an open-source automated tool from Google designed to improve the quality of web pages. It performs audits on performance, accessibility, best practices, SEO, and progressive web apps (PWA).

Main audit areas:

  • Performance: Metrics such as load speed, interactivity, and visual stability (e.g., LCP, TBT, CLS).
  • Accessibility: Checks compliance with WCAG standards to ensure content accessibility for users with disabilities.
  • Best Practices: Recommendations to prevent vulnerabilities, use HTTPS, optimize images, and more.
  • SEO: Checks key SEO factors for better indexing and recognition by search engines.
  • PWA: Evaluation of installation criteria, offline performance, and usability on mobile devices.

Lighthouse can be run as a Chrome extension, from Chrome DevTools, via the command line (Node.js), or as a module in Node.js for CI/CD integration.

# Example of running from the command line
lighthouse https://example.com

The audit results are presented as a report with scores for each category and suggestions for improvement.