[Resolved] Alt tag bug in GP beta 2.0

Home Forums Support [Resolved] Alt tag bug in GP beta 2.0

Home Forums Support Alt tag bug in GP beta 2.0

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #440922
    forgemedia

    I noticed in alpha.1 – 11/27/2017 that you “added alt tags.” However, it doesn’t appear that this is working correctly.

    I have this on a staging site: https://staging-brianjackson.kinsta.com/blog/

    You can see for example on that first blog post, the featured image shows up. The alt tag shows as “I’m Joining the WordPress Team at Kinsta”

    alt tag

    However, in the media library I have clearly set the alt tag on this image to “Kinsta.”

    alt tag in media library

    I also tried throwing GP 2 on a site that didn’t have GP before and experienced the same issue. It appears that GP is pulling the title of the blog post for the alt tags, which is not ideal. This also occurs on the featured image inside the blog post as well.

    #440993
    Tom
    Lead Developer
    Lead Developer

    Hi Brian,

    Thanks for pointing this out! I did add the title of the post as the alt tag in order to improve accessibility. However, looking into the core function I see that WP uses the set alt tag automatically, so there’s nothing the theme has to do. It would be nice to use the post title as a fallback in case the alt tag isn’t set.

    I’ll get this fixed for the official GP 2.0 release.

    Thank you!

    #441325
    forgemedia

    Thanks Tom! Yes, I specifically set an ALT tag on all my images 🙂 But fallback would be nice for those that forget.

    #441414
    Tom
    Lead Developer
    Lead Developer

    Done! Thank you again 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.