• Resolved Change

    (@rylar22)


    This plugin uses the post title instead of the alt tag for featured thumbnail images. This generates duplicate copy for screen readers and results in an incorrect alt tag being read.

    Ideally, the image would get a correct alt tag. If that’s not available, then an empty alt tag is better than an incorrect alt tag. Is this something you’re willing to improve?

    
    <li><a><img src="..." width="80" height="80" alt="Title of Post" /></a><a href="..." title="..." target="_self">Title of Post</a></li>
    • This topic was modified 5 years, 11 months ago by Change.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @rylar22,

    Sure thing. I’ll look into it as soon as possible, thanks for the heads up.

    Plugin Author Hector Cabrera

    (@hcabrera)

    Hey Greg,

    Sorry I took this long to post an update.

    So, right now I have a development version of the plugin that successfully uses the original ALT attribute assigned by the user to featured images. In that regard, we’re good.

    However, as you probably know, WordPress Popular Posts also offers the ability to select a different thumbnail source (Custom Field, First image on post, and First attachment). On these cases, the plugin can’t reliably fetch the ALT attribute due to an issue with the new Block Editor (a.k.a. Gutenberg). I reported the problem to the WordPress team (see Missing meta _wp_attachment_image_alt when inserting images for more details) and have yet to hear a response from them. The issue is still marked as “open” so I guess they’ll look into it eventually.

    Note that the aforementioned issue doesn’t happen with the “old” editor (a.k.a. Classic Editor).

    Anyways, that’ll be all for now.

    Thread Starter Change

    (@rylar22)

    Thanks for the update Hector! I’ll give the latest dev version a try.

    Plugin Author Hector Cabrera

    (@hcabrera)

    You can find it here, it’s not on www.remarpro.com (yet).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Incorrect alt tag on featured image teasers’ is closed to new replies.