Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

lighthouse

Rules: 8

Low Lighthouse accessibility score

lighthouse/accessibility · warning · score 3.3–6.2 · page

Reported as

Lighthouse accessibility score is the value found, under 0.9

Fix

Fix the failing audits Lighthouse lists under accessibility, largest savings first.

Off by default; a group that runs lighthouse turns it on.

References

For rule authors

Reads

  • lighthouse.scores.accessibility

Expects

{
  "type": "number",
  "minimum": 0.9
}

Low Lighthouse best-practices score

lighthouse/best-practices · warning · score 3.3–5.6 · page

Reported as

Lighthouse best-practices score is the value found, under 0.9

Fix

Fix the failing audits Lighthouse lists under best-practices, largest savings first.

Off by default; a group that runs lighthouse turns it on.

References

For rule authors

Reads

  • lighthouse.scores.best-practices

Expects

{
  "type": "number",
  "minimum": 0.9
}

CLS over 0.1 in the lab

lighthouse/cls · warning · score 3.4–6.0 · page

Reported as

CLS is the value found in the lab, over 0.1

Fix

Reduce CLS below 0.1; the Lighthouse report names the elements and resources behind it.

Off by default; a group that runs lighthouse turns it on.

References

For rule authors

Reads

  • lighthouse.vitals.cls

Expects

{
  "type": "number",
  "maximum": 0.1
}

FCP over 1800 ms in the lab

lighthouse/fcp · warning · score 3.4–6.0 · page

Reported as

FCP is the value found ms in the lab, over 1800 ms

Fix

Reduce FCP below 1800 ms; the Lighthouse report names the elements and resources behind it.

Off by default; a group that runs lighthouse turns it on.

References

For rule authors

Reads

  • lighthouse.vitals.fcp

Expects

{
  "type": "number",
  "maximum": 1800
}

LCP over 2500 ms in the lab

lighthouse/lcp · warning · score 3.4–6.0 · page

Reported as

LCP is the value found ms in the lab, over 2500 ms

Fix

Reduce LCP below 2500 ms; the Lighthouse report names the elements and resources behind it.

Off by default; a group that runs lighthouse turns it on.

References

For rule authors

Reads

  • lighthouse.vitals.lcp

Expects

{
  "type": "number",
  "maximum": 2500
}

Low Lighthouse performance score

lighthouse/performance · warning · score 3.3–6.4 · page

Reported as

Lighthouse performance score is the value found, under 0.9

Fix

Fix the failing audits Lighthouse lists under performance, largest savings first.

Off by default; a group that runs lighthouse turns it on.

References

For rule authors

Reads

  • lighthouse.scores.performance

Expects

{
  "type": "number",
  "minimum": 0.9
}

Low Lighthouse SEO score

lighthouse/seo · warning · score 3.3–5.4 · page

Reported as

Lighthouse SEO score is the value found, under 0.9

Fix

Fix the failing audits Lighthouse lists under SEO, largest savings first.

Off by default; a group that runs lighthouse turns it on.

References

For rule authors

Reads

  • lighthouse.scores.seo

Expects

{
  "type": "number",
  "minimum": 0.9
}

TBT over 200 ms in the lab

lighthouse/tbt · warning · score 3.4–6.0 · page

Reported as

TBT is the value found ms in the lab, over 200 ms

Fix

Reduce TBT below 200 ms; the Lighthouse report names the elements and resources behind it.

Off by default; a group that runs lighthouse turns it on.

References

For rule authors

Reads

  • lighthouse.vitals.tbt

Expects

{
  "type": "number",
  "maximum": 200
}