• Resolved Generosus

    (@generosus)


    Good Day,

    Yesterday, we added country flags next to the language name inside our GTranslate dropdown menu.

    Upon adding the flags, Rank Math’s SEO Analyzer counted them as “Page Objects” thus reducing our SEO score.

    Details:

    The added country flags (images) are in svg format, are lazy-loaded, and their display only occurs on page load (i.e., they are programmatically delayed).

    To fix the above, Rank Math’s proposed solution is to “replace embedded objects with HTML5 alternatives.”

    Is the above possible for your plugin? Any suggestion on how to fix this?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Generosus

    (@generosus)

    Update:

    We also contacted Rank Math Support on this topic. Below please find their reply.

    Hopefully, it will help you determine if a fix is required (or necessary) at your end.

    Thank you!

    ——————————

    From Rank Math’s Support Team:

    Thank you for contacting Rank Math for help with your images being miscounted when scanned by Rank Math SEO analyzer. I checked the source code of the page and the flag images were visible to the analyzer before lazy loading. I suspect the issue is due to the images using native HTML lazy loading (a relatively new standard) which might not be supported by the Rank Math SEO analyzer yet. I have asked a developer whether the detection of images can be improved. We’ll let you know once we have a an update on this.

    Plugin Author edo888

    (@edo888)

    Hi,

    Adding flags and not having any performance hit is a hard task. I cannot really suggest anything other than to not use the flags if you are worried about performance.

    You can also add <svg> directly into your HTML instead of the <img>, but technically you are not improving the performance, just playing with “Rank Math score”.

    Thanks! ??

    • This reply was modified 2 years, 4 months ago by edo888.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Rank Math Detecting GTranslate Flags As Page Objects’ is closed to new replies.