Lighthouse: How to fix 'Ensure text remains visible during webfont load' for CDN package

Created on 7 Feb 2020  路  1Comment  路  Source: GoogleChrome/lighthouse

I was trying to fix the 'Ensure text remains visible during webfont load' issue from Lighthouse audit for my web application.I have read from many articles about font-display:swap as the solution for this warning. Its working fine for the font I have added in my application.

But am getting this warning for the third party resources like fontawesome and font.gstatic.com.I have attach the screenshot below:

webfont_audit

I have added font-awesome icon plugin for my app. And I am founding this fontawesome-webfont inside font-awesome.min.css.

How can I fix this issue? Can someone help me out of this warning?

Thanks in Advance:)

needs-priority pending-close question

Most helpful comment

Google Fonts: Easy fix https://css-tricks.com/google-fonts-and-font-display/

Font Awesome: Open feature request, feel free to +1 https://github.com/FortAwesome/Font-Awesome/issues/16077

>All comments

Google Fonts: Easy fix https://css-tricks.com/google-fonts-and-font-display/

Font Awesome: Open feature request, feel free to +1 https://github.com/FortAwesome/Font-Awesome/issues/16077

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mjara74 picture mjara74  路  3Comments

muuvmuuv picture muuvmuuv  路  3Comments

nl-igor picture nl-igor  路  3Comments

wizardnet972 picture wizardnet972  路  3Comments

dkajtoch picture dkajtoch  路  3Comments