• Resolved dave133

    (@dave133)


    I notice that this plug-in doesn’t get alt text for the final HTML which hasn’t been great for my SEO. I have some PHP code to fetch the alt text, I just need to insert it where the plug-in gets the title, src etc I’ve looked in the editor but I can’t find where this code is. Just wondering if you could point me in the right direction?

    https://wordpress.org/plugins/wp-featherlight/

Viewing 1 replies (of 1 total)
  • Plugin Author Robert Neu

    (@fatmedia)

    Hey Dave,

    Unfortunately, the way the alt text is defined is part of the core featherlight jQuery script and not something we can really do much about without significant modification or writing additional code to integrate alt text into the image.

    That said, I really don’t think this is an SEO issue. The featherlight lightbox image is a clone of images embedded in your content and only one of them ever exists at any given moment. It’s dynamically generated when someone clicks on one of your images to open the lightbox.

    As long as you have the proper alt text in your in-content images, you should be fine from an SEO perspective.

    SEO aside, this could be seen as a bit of an accessibility problem, so I’ll open an issue on the featherlight script to discuss it with the guy who maintains it.

    If the script does get changed, we’ll make sure the latest version is pulled in to WP Featherlight as well.

Viewing 1 replies (of 1 total)
  • The topic ‘To show Alt text’ is closed to new replies.