Add Font-Display Property for Better Text Rendering

Web Vitals Analyzer

What is this warning?

Fonts on your page are missing the font-display property, which can cause invisible text during font loading (FOIT - Flash of Invisible Text). This delays when users can read your content and impacts Core Web Vitals.

How to Fix This Issue

How to Fix It

The Problem

@font-face {
  font-family: 'MyFont';
  src: url('font.woff2') format('woff2');
}

The Solution

Add the font-display property to control loading behavior.

@font-face {
  font-family: 'MyFont';
  src: url('font.woff2') format('woff2');
  font-display: swap;
}

Why This Works

Font-display: swap shows fallback text immediately, then swaps to the custom font when ready, ensuring text is always visible and improving FCP scores.

SEO Impact

This issue can affect your site's search engine rankings and user experience. Addressing it promptly helps ensure optimal performance and visibility in search results.

Automatic Detection

Black SEO Analyzer automatically checks for this warning during site analysis, along with hundreds of other technical SEO issues.

Ready to Unlock Your Site's Full SEO Potential?

Choose the license that fits your needs and start getting the deep, actionable insights you deserve.