Support » Plugin: WP YouTube Lyte » Alt Tag Missing

  • Kingyyyy

    (@kingyyyy)


    Hello,

    On-page SEO check tools seem to show that that the video placeholder image does not have an alt-tag. It shows as empty in the code: alt=””

    Any function.php code I can use to make the alt-tag same as the title, as a quick fix?

    Or to add my own? (preferred)

Viewing 1 replies (of 1 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    The visible LYTE div does not have in image tag, as the the thumbnail is added as a background-image. As such I don’t think an alt-tag is appropriate there, but as an alternative we could give the div a title-tag with as value the title of the video as retrieved from YT?

Viewing 1 replies (of 1 total)
  • The topic ‘Alt Tag Missing’ is closed to new replies.