Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.76k stars 885 forks source link

Missing og:image:alt tag #8342

Closed mariusghitulescu closed 6 years ago

mariusghitulescu commented 6 years ago

Please give us a description of what happened.

When choosing a Facebook Image in Yoast SEO, an additional tag og:image:alt should be generated as well. This tag is missing, no matter if the selected Facebook Image has Alt Text or not.

Please describe what you expected to happen and why.

I expected the og:image:alt tag to be generated as well, together with the other Open Graph tags.

How can we reproduce this behavior?

  1. Create a post/page
  2. Set a Facebook Image in Yoast SEO for that post/page
  3. Check the HTML code of the page, the og:image:alt tag is not generated

Technical info

CarolineGeven commented 6 years ago

What is the exact reason you wish to generate the alt tag? The Facebook Debugger extracts the og:image:alt automatically from the image in the Based on the raw tags, we constructed the following Open Graph properties box.

Pcosta88 commented 6 years ago

OpenGraph Protocol says we should have one: http://ogp.me/

If the page specifies an og:image it should specify og:image:alt.

Pcosta88 commented 6 years ago

Please inform the customer of conversation # 271688 when this conversation has been closed.

Jerparx commented 6 years ago

Please inform the customer of conversation # 334335 when this conversation has been closed.