Yoast / YoastSEO.js

Analyze content on a page and give SEO feedback as well as render a snippet preview.
GNU General Public License v3.0
403 stars 170 forks source link

When Alt Text Attributes and Focus Keywords have one word matching, alt text analysis shows a match for the whole field and shows a green dot #2165

Closed Pcosta88 closed 5 years ago

Pcosta88 commented 5 years ago

What did you expect to happen?

When Alt Text Attributes and Focus Keywords are different alt text analysis would detect they are different and show a red dot.

What happened instead?

When Alt Text Attributes and Focus Keywords have one word matching, alt text analysis shows a match for the whole field and shows a green dot

How can we reproduce this behavior?

1.Add an image

2.Add keyword

3.Add alt text with at least one word of the keyword that matches

2

4.See incorrect match

1

Technical info

Pcosta88 commented 5 years ago

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

Pcosta88 commented 5 years ago

Closed. Expected behavior. See Wiki on Analysis: https://github.com/Yoast/YoastSEO.js/wiki/Scoring-SEO-analysis#7-keyword-in-image-alt-attributes