Neova고급 SEO 플랫폼

웹 글꼴이 로드되는 동안 텍스트를 가림

Neova에서는 크롤링 자체에서 실행됩니다. 따로 설정할 것이 없습니다.

규칙 최종 검토: 2026년 10월 17일 · 가이드 업데이트: 2026년 7월 7일

font-display가 swap, optional 또는 fallback으로 설정되지 않으면, 브라우저가 웹 글꼴을 로드하는 동안 텍스트를 숨길 수 있어 방문자가 그 자리의 텍스트를 보지 못합니다. 이 점검은 대기 시간을 측정하지 않고 CSS를 읽습니다.

해 볼 수 있는 조치

각 @font-face 규칙에 font-display: swap 또는 font-display: optional을 추가하세요.

Neova가 찾는 방법

Neova는 페이지 유형마다 샘플을 골라 속도 테스트를 실행합니다.

Neova가 플래그를 지정하는 이유

  • 기본 font-display에서는 웹 글꼴이 로드되는 동안 브라우저가 최대 3초까지 텍스트를 숨길 수 있어, 방문자가 빈 공간을 봅니다.
  • font-display: swap이나 optional은 대체 글꼴로 텍스트를 바로 보여 주어 FCP에 도움이 됩니다.
  • 이 점검은 CSS를 읽을 뿐, 특정 연결에서 글꼴이 실제로 얼마나 걸리는지 측정하지 않습니다.

출처

작성하는 티켓

이 부분은 현재 영어로만 제공됩니다.

PE-014 · Web Font Blocks Text While It Loads

How to Check the Fix: 1. Run the check again in Neova
2. Spot-check sample URLs across affected templates
3. Record the re-check date and period label next to the baseline

Neova writes this ticket for every affected page group and sends it to Jira, Linear, Asana and the rest, after you approve it.

전체 가이드

이 부분은 현재 영어로만 제공됩니다.

What This Check Flags

This audit fires when your webfonts load without a font-display strategy, so the browser hides your text until the font file arrives, a flash of invisible text (FOIT). Visitors stare at a blank block of nothing while the font downloads, and if that font is your LCP element, your Largest Contentful Paint waits on it too. A late font swap can also shove text around and spike Cumulative Layout Shift.

The Real Example, and the Fix

The problem is the default. A plain @font-face block behaves like font-display: auto, which most browsers treat as a block period of up to 3 seconds of invisible text:

/* FOIT: text is invisible while Inter downloads */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter.woff2') format('woff2');
}

The fix is one line. Add font-display: swap so the browser paints text immediately in a fallback font, then swaps to your webfont when it lands:

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter.woff2') format('woff2');
  font-display: swap;   /* text visible instantly, swaps when ready */
}

If you load fonts from Google Fonts by URL, add &display=swap to the request and the generated @font-face rules include it for you:

<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">

Two more moves kill the leftover shift. Preload the font so it starts downloading early, and use size-adjust / the @font-face metric overrides so your fallback occupies almost the same space as the real font, making the swap nearly invisible:

<link rel="preload" href="https://example.com/fonts/inter.woff2" as="font" type="font/woff2" crossorigin>

@font-face {
  font-family: 'Inter-fallback';
  src: local('Arial');
  size-adjust: 107%;
  ascent-override: 90%;
}

Which font-display Value to Pick

font-display takes five values, and the right one depends on whether you care more about your brand font showing up or about text never being invisible:

Value Block Period (Invisible) Swap Period Use It When
auto ~3s (browser default) varies Never, on purpose, this is the failing state
block ~3s infinite Icon fonts where a fallback glyph would be nonsense
swap 0s infinite Body and heading text, the safe default
fallback ~100ms ~3s You want the webfont but will accept fallback on slow links
optional ~100ms none Zero-CLS priority; browser may skip the font on slow connections

For 90% of sites, swap is the answer. If layout shift is your bigger enemy and the font is decorative, optional trades a guaranteed brand font for a guaranteed-stable layout.

How to Detect It

  1. Lighthouse: run a Performance audit and look for "Ensure text remains visible during webfont load" under Diagnostics. It names every @font-face missing a font-display value.
  2. curl -I: confirm the font itself is served efficiently, curl -I https://yoursite.com/fonts/inter.woff2 should return woff2 with a long cache-control. A slow or uncached font makes FOIT worse, so the two checks are cousins.
  3. DevTools Network panel: filter by Font, throttle to "Slow 3G," and reload. Watch the page, if the text vanishes then pops in, you are seeing FOIT live. The Timing tab shows exactly how long the font blocked render.

How to Fix It

  1. Add font-display: swap to every @font-face rule you control (or &display=swap on hosted font URLs).
  2. Self-host and woff2-compress your fonts so they download fast; give them a one-year cache.
  3. Preload the one or two fonts used above the fold so the swap happens before the user notices.
  4. Add metric overrides (size-adjust, ascent-override) to match the fallback's footprint and flatten the swap-induced shift.
  5. Re-run Lighthouse and confirm both the font-display diagnostic and any related CLS entries clear.

Fonts are one of the sneakiest performance taxes on a page; the web fonts and performance guide digs into subsetting and self-hosting, and the Core Web Vitals overview ties it back to LCP and CLS scoring.

FAQ

Does font-display: Swap Hurt My Core Web Vitals?

It helps LCP, because text paints immediately instead of waiting on the font. It can add a little CLS if the fallback and webfont have very different widths, which is exactly what the metric overrides above fix. Net effect on a tuned setup is positive.

What Is the Difference Between FOIT and FOUT?

FOIT is a flash of invisible text, the default blocking behavior, nothing shows. FOUT is a flash of unstyled text, the fallback shows first, then swaps to your font. swap deliberately chooses FOUT because visible fallback text beats a blank screen every time.

Should I Use Swap or Optional for Body Copy?

Use swap for body copy: readers should always get your intended typeface if it can load. Reserve optional for cases where a stable layout matters more than the exact font, and where the font is small enough that skipping it is no loss.

Do I Still Need font-display If I Preload the Font?

Yes. Preloading makes the font arrive sooner, but if it is still in flight when the browser wants to paint, font-display decides whether text shows or hides in that window. Preload and swap work together.

Why Is My Icon Font Showing Boxes With font-display: Swap?

Because swap renders a fallback glyph while the icon font loads, and there is no sensible fallback for a custom icon, so you get tofu boxes. Icon fonts are the one case where block (or better, inline SVG) is correct.

내 사이트에서 찾아보기

Neova는 크롤링할 때마다 이 점검과 다른 모든 점검을 실행하고, 수정 방법을 팀을 위한 티켓으로 작성합니다.

  • Mac, Windows, Linux용 데스크톱 앱
  • 출처가 함께 있는 696개 점검 전체
  • Search Console과 Analytics 4를 읽기 전용으로 연결
  • Jira, Linear, Asana로 티켓 보내기

Neova 다운로드 Desktop Free 플랜 또는 Solo 14일 무료, 카드 불필요.

성능 점검 전체 · 가이드 · 점검 라이브러리

작성: Neova Labs · 점검 라이브러리로 돌아가기