Screpy - AI SEO Audit Tool New Screpy is live 🎉

Text should remain during webfont load

The fact that a text is completely invisible during the Webfont loading process can be described as a serious UX problem. Here is the key to solving this.

Reviewed by Screpy Editorial Team

Google Lighthouse notifies the user of the situation by flagging the relevant page if a text is invisible during the font-display process. As follows:

Text should remain during webfont load

How to pass the audit? – Showing the invisible text

In order to prevent the text from becoming invisible during the function loading process of a web page, you can assign a temporary font to that text to display in such cases. When you do this, the easy to install temporary and basic font will increase the user’s experience. To do this, you need to add font-display: swap in @font-face style. Check out the example below:

@font-face { font-family: 'Pacifico'; font-style: normal; font-weight: 400; src: local('Pacifico Regular'), local('Pacifico-Regular'), url(https://fonts.gstatic.com/s/pacifico/v12/FwZY7-Qmy14u9lezJ-6H6MmBp0u-.woff2) format('woff2'); font-display: swap; }

Font display API is a system that determines how a font will appear on your web page. Thanks to this system, the basic font is used while loading. With the installation of the custom font, the system automatically turns to it.

Preload web fonts

You can use <link rel = "preload"> to use font files that can be loaded early on your web page.

Google Fonts

You can use this font by adding a parameter to the end of the Google font URL. The parameter to be added is &display = swap. Here is an example:

Having browser support

A little note: Not all browsers may support font-display. In such a case, you need to use a few additional methods to solve the text invisible problem. What exactly do you have to do? For this, you need to reduce the flash in invisible text codelab.

Related tasks

Solve the errors logged to the console

If there are error warnings about your website within the console offered by the browser, you need to follow a few basic steps to resolve them.

Tuesday, December 22, 2020

Title Tags Not Found

Are you encountering the title meta tag not found the issue? You can solve it right away! Here are the causes and importance of the problem in detail.

Sunday, December 20, 2020

Robots.txt Not Found

If you are encountering the Robots.txt not found error, you can create your file immediately by paying attention to the steps below. Discover the details now!

Sunday, December 20, 2020

Not Crawlable Pages

Have the same problem with crawlability issues? Let’s see what you can do for your website to be indexed. Here are the ways and solutions!

Sunday, December 20, 2020

Meta Description Not Found

Are you getting a meta description not found a warning about your web page? Let's figure it out! Why is meta description important, how to pass the audit? Examine!

Sunday, December 20, 2020