diff --git a/lib/dom/performance/largestContentfulPaint.js b/lib/dom/performance/largestContentfulPaint.js index 31d6c5e..79e7d1b 100644 --- a/lib/dom/performance/largestContentfulPaint.js +++ b/lib/dom/performance/largestContentfulPaint.js @@ -42,10 +42,10 @@ } if (lcp.tagName === 'IMG') { - if (largestEntry.element.importance != 'high') { + if (largestEntry.element.fetchPriority != 'high') { score -= 5; advice += - ' You can add importance="high" to the image to increase the load priority that is rolling out soon in Chrome.'; + ' You can add fetchPriority="high" to the image to increase the load priority in Chrome.'; } if (largestEntry.element.loading === 'lazy') { score -= 20;