Lighthouse HTML Audit
Run Lighthouse to catch HTML best-practice violations.
What Lighthouse Is
Lighthouse is an automated auditing tool built into Chrome DevTools (Audits tab) that scores a page across Performance, Accessibility, Best Practices, SEO, and PWA. It runs an audited page through the browser, measures, and produces actionable suggestions.
Running an Audit
In Chrome DevTools, switch to Lighthouse, pick the categories, choose Desktop or Mobile, click "Analyze page load". The tool reloads the page in a clean environment and produces a report in under a minute.
All lessons in this course
- The W3C Markup Validator
- Lighthouse HTML Audit
- Pa11y and axe for Accessibility Testing
- HTML Snapshot Testing