Topic-icon Errors in PageSpeed Insights

Active Subscriptions:

None
1 year 7 months ago #69074 by alechu
I recently checked my site through Google's PageSpeed Insights ​​tool and there were a couple of errors related to SCLogin:

1. as far as I understand, here it will be enough to add the loading=lazy attribute for images:



2. if it is possible to somehow fix this, please do it for social login links:



link: pagespeed.web.dev
Attachments:
The topic has been locked.
Support Specialist
1 year 7 months ago - 1 year 7 months ago #69084 by mel
Replied by mel on topic Errors in PageSpeed Insights
I'll check these changes in for the next release.

Probably depending on how my pages are laid out, but I don't get that error for deferring those. I put the loading attribute into the img tag though.

The anchor can be changed to a span with a role="button" and that will eliminate the issue. While some users' themes may break if they're explicitly using like a.sc_fblogin, it's a better solution that keeping it an anchor tag and using a # for the link and flickering up to the top of the screen before executing.

[Edited to add] This is not a change in SCLogin though. This is in JFBConnect.

-Melissa
Last edit: 1 year 7 months ago by mel.
The topic has been locked.