• Is there any way to correct the name and alt flags in the code? If the flags are displayed through the menu, then every page will have an image without title and alt, and this has a negative impact on SEO.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chouby

    (@chouby)

    Hello,

    I don’t see any flag on your site. If you are using a language switcher provided with Polylang, the alternative text of the flag is present if the language switcher displays only flags and removed if the language switcher displays both flags and language names. This is done for accessibility reason as screen readers would read 2 times the language name.

    Thread Starter volovikov

    (@volovikov)

    I removed the flags for testing. I read on the support site that it solves the situation quickly (https://polylang.pro/doc/the-title-attribute-displays-the-html-code-of-the-flag/).
    With the display of flags through the menu appear image in html data:image/gif;base64,R0lGODlhAQABAAAAAAAAAACH5BAEKAAAEALAAAAAAAAAAAAAAAABAAAAAICTAEAOw==
    An optimization check of the site revealed three photos that had no alt on the Title.
    I put the flags back on the site, in order to be able to see the problem.
    If you leave just the flags, without language names, the list is not displayed.

    • This reply was modified 2 months, 3 weeks ago by volovikov.
    • This reply was modified 2 months, 3 weeks ago by volovikov.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.