Check Best Practices Audits


Best Practices audits are a set of Best Practices checks performed by Lighthouse that highlight selected opportunities surrounding code health. They are available for each Snapshot test, unless a test has been completed with partial results due to an error.

Best Practices Audits tab for a Snapshot showing a grade of 92 out of 100 and listing audits in three categories: opportunities, diagnostics and passed audits.

The Best Practices audit category receives a score between 0 and 100, visible at the top of the audit section. Higher grading implies better code health, but due to limitations of this audit type, doesn’t entirely guarantee it.

Best Practices audit structure

Best Practices audits fall into the following categories:

  • Opportunities
  • Diagnostics
  • Passed audits

To ensure passing Lighthouse Best Practices audits, it’s essential to focus on the Opportunities and Diagnostics categories, outlining possible improvements to a given page. Each audit item includes:

  • Title (e.g.: Allows users to paste into input fields)
  • Audit description (e.g.: Preventing input pasting is a bad practice for the UX, and weakens security by blocking password managers.)
  • Additional details (optional, e.g.: list of HTML elements affected)

If an audit item features a table with more details, the table can be sorted by clicking on the column name.