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 172 forks source link

[Feature request] Detect if Keyword has a punctuation mark in it and output a different notification for the slug #2222

Open Pcosta88 opened 5 years ago

Pcosta88 commented 5 years ago

If a user has a keyword with a punctuation mark in it like an exclamation point, WordPress strips it out when it is added to the slug. Therefore, we should detect if Keyword has a punctuation mark in it and output a different notification for the slug alerting users to this.

1.Add a keyword with an ending mark like: FRITZ!App WLAN

Screen Shot 2019-04-24 at 8 58 13 AM

2. See it appear as a slug with out the exclamation point

Screen Shot 2019-04-24 at 8 55 49 AM

3.See notification outputted Keyphrase in slug: (Part of) your keyphrase does not appear in the slug. Change that!

Screen Shot 2019-04-24 at 8 59 13 AM
  1. We should therefore, improve that notification by alerting users that they have a mark in the slug.

Not sure if Yoast was set-up to do that previously based on these two issues? https://github.com/Yoast/YoastSEO.js/pull/1778 and https://github.com/Yoast/YoastSEO.js/issues/1608

Technical info

Which browser is affected (or browsers):