Site logo

[Support request] “Ensure text remains visible during webfont load” Core Web vitals error

Home Forums Support [Support request] “Ensure text remains visible during webfont load” Core Web vitals error

Home Forums Support “Ensure text remains visible during webfont load” Core Web vitals error

  • This topic has 29 replies, 5 voices, and was last updated 4 years ago by Andrew.
Viewing 15 posts - 1 through 15 (of 30 total)
  • Author
    Posts
  • #2138582
    Andrew

    I am getting the error, “Ensure text remains visible during webfont load” when Core Web vitals checks on pages like the link in private info

    With these 3 fonts being highlighted:

    https://mk0standoutcv3equub0.kinstacdn.com/wp-content/themes/generatepress/assets/fonts/generatepress.woff2
    https://mk0standoutcv3equub0.kinstacdn.com/wp-content/themes/generatepress/assets/fonts/generatepress.woff
    https://mk0standoutcv3equub0.kinstacdn.com/wp-content/themes/generatepress/assets/fonts/generatepress.ttf

    I have read previous threads on this and have changed the icon to SVG and that did not fix…. and I’m only using a Google font, so I’m not sure why the GeneratePress fonts are loading?

    How do I ensure the Google font (open sans) I am using pre-loads? Can it be done with CSS or WP rocket?

    Thanks
    Andrew

    #2138609
    Andrew

    Update: Had to change back from SVG to font, but problem remains

    #2138659
    Ying
    Staff
    Customer Support

    Hi Andrew,

    Switching from font to svg is the first step to go.

    Can you do so and clear cache?

    Let me know 🙂

    #2138672
    Andrew

    Hi Ying, as mentioned I did try that – It didn’t stop the font loading issue (cache was cleared) and it also made square symbols appear in my menu next to the arrows, so I had to switch back anyway.

    #2138757
    Elvin
    Staff
    Customer Support

    Hi Andrew,

    This issue is being flagged because the font asset for icons is causing FOUT.

    The way to go is with having SVG icons and then clear all kinds of cache so you don’t see that square placeholder for icons. 🙂

    #2139010
    Andrew

    Hi Elvin

    Thanks, I tried that again and put it on a staging site (see link below)

    As you can see, it doesn’t solve the issue on the page speed test, and it makes squares appear next to the arrows on the menu, which disappear as soon as the cursor is moved.

    Any ideas on an alternative fix?

    Thanks
    Andrew

    #2139048
    Elvin
    Staff
    Customer Support

    The SVG doesn’t seem to be applying properly as the site still seems to be using font icons.

    You may have to check if the site has some sort of page caching that’s messing up how the page looks.

    Consider disabling all plugins except GP Premium as well to check if its a conflict with plugins. 🙂

    #2139070
    Andrew

    ok thanks, the site uses WP Rocket, Kinsta & Sucuri – all the caches have been cleared and have never caused any issues before – do you think it could be any of those?

    Also with regards to plugins, is there any particular type of plugin which is likely to cause this? just to help me narrow it down a bit

    Thanks
    Andrew

    #2139080
    Elvin
    Staff
    Customer Support

    Also with regards to plugins, is there any particular type of plugin which is likely to cause this? just to help me narrow it down a bit

    I’d lean towards caching related things first. I’ll check everything. (CDNs, object-cache, page cache, etc)

    As for plugins, I’m not sure but the best way to find out is by copying the site on a staging site and disable everything first. You enable them one by one to figure out which one. 😀

    #2140514
    Andrew

    Thanks Elvin

    I’ve solved the font loading issue now – I switched to SVG and regenerated the critical CSS in WP-Rocket.

    However, even with that fixed, I’m still seeing low scores for FCP and LCP in the Core Web Vitals tests, but with nothing specific being cited by Google in the reports, which is strange.

    Any idea what might be causing that from a theme perspective?

    Thanks
    Andrew

    #2140559
    David
    Staff
    Customer Support

    Hi there,

    i checked the latest URL you shared and on mobile the FCP / LCP are both 1.7s on mobile, which is brilliant.
    Is there a different link i should look at ?

    #2140575
    Andrew

    Hi David

    Thanks for the quick response

    Whats really strange is that sometimes the FCP & LCP are low – sometimes they are really high

    If you use the page below as an example, run the test a couple of times and you will see what I mean

    Thanks
    Andrew

    #2140614
    David
    Staff
    Customer Support

    I ran 6 tests – one every 5 minutes and each time the results were within CWV recommendations. Tiny fluctuations if any.
    If you see the odd glitch, i wouldn’t be overly concerned, the tests are simulated and sometimes they glitch out. Only an issue if you see it consistently.

    #2140661
    Andrew

    Thats strange, I’m still seeing it happen more than half of the times a run test, which means it will likely fail the web vitals test over 28 days

    Is there anything else at all you think my be causing this?

    Thanks
    Andrew

    #2140682
    David
    Staff
    Customer Support

    Hard to say without seeing it.
    Do you have a page speed insights showing the delayed times ?

Viewing 15 posts - 1 through 15 (of 30 total)
  • You must be logged in to reply to this topic.