Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consecutive sentences assessment doesn't detect consecutive sentences inside Yoast How-To block #20737

Open
4 of 11 tasks
FAMarfuaty opened this issue Oct 6, 2023 · 0 comments
Labels

Comments

@FAMarfuaty
Copy link
Contributor

FAMarfuaty commented Oct 6, 2023

  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened

  • When there are three or more sentences inside Yoast How-To block that start with the same beginning, the Consecutive sentences assessment doesn't detect them. More info on Slack thread

To Reproduce

Step-by-step reproduction instructions

  1. Install and activate Yoast SEO
  2. Create a post in Block editor
  3. Add some paragraph blocks with content
  4. In one of the paragraphs, add the following sentences:

Cats are lovely. Cats are fun. Cats are adorable.

  1. Go to Readability analysis
  2. Confirm that Consecutive assessment gives the following feedback:

Consecutive sentences: The text contains 3 consecutive sentences starting with the same word. Try to mix things up!

  1. Add a Yoast How-To block
  2. Add two steps sub-blocks
  3. In one of the sub-blocks, add the following sentences:

Raw food is excellent for cats. Raw food is excellent for cats. Raw food is excellent for cats.

  1. Confirm that the Consecutive sentences assessment's feedback stays the same.

Expected results

  1. In above case, the Consecutive sentences assessment should give the following feedback:

Consecutive sentences: The text contains 2 instances where 3 or more consecutive sentences start with the same word. Try to mix things up!

Actual results

  1. In above case, the Consecutive sentences assessment gives following feedback:

Consecutive sentences: The text contains 3 consecutive sentences starting with the same word. Try to mix things up!

Screenshots, screen recording, code snippet

If possible, please provide a screenshot, a screen recording or a code snippet which demonstrates the bug.

Technical info

  • If relevant, which editor is affected (or editors):
  • Block Editor
  • Gutenberg Editor
  • Elementor Editor
  • Classic Editor
  • Other:
  • Which browser is affected (or browsers):
  • Chrome
  • Firefox
  • Safari
  • Other:

Used versions

  • Device you are using:
  • Operating system:
  • PHP version:
  • WordPress version:
  • WordPress Theme:
  • Yoast SEO version:
  • Gutenberg plugin version:
  • Elementor plugin version:
  • Classic Editor plugin version:
  • Relevant plugins in case of a bug:
@mhkuu mhkuu added the IM label Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants