YoastSEO.js icon indicating copy to clipboard operation
YoastSEO.js copied to clipboard

Invalid subheading distribution warning with subheading line break and 196+ word

Open amboutwe opened this issue 6 years ago • 10 comments

What did you expect to happen?

No warning

What happened instead?

Warning appeared Subheading distribution: 1 section of your text is longer than 300 words and is not separated by any subheadings. Add subheadings to improve readability.

How can we reproduce this behavior?

  1. Create new post with content sample below (code view).
  2. Check Readability Analysis. See warning about subheading.
  3. Remove the word six from the paragraph above 'Section Two'. Warning goes away.
  4. Add the word six back. Warning appears again.
  5. Switch to code view
  6. Remove the line break from 'Section One With Line Break'. Warning goes away.
  7. Add line break back. Warning appears.

Technical info

  • Platform: WordPress
  • Platform version: 5.0.3
  • Yoast SEO version: 9.6.x free or premium (also happens with 9.5)

If relevant, which editor is affected (or editors):

  • [x] Gutenberg
  • [x] Classic Editor plugin

Beta

  • [x] Recalibration beta activated

Extra Info

example text

Occurs with

  • default block editor
  • classic editor plugin active
  • recalibration beta active
  • recalibration beta inactive

amboutwe avatar Feb 21 '19 18:02 amboutwe

Issue confirmed, though I doubt that this will see much troubles. To get that line break to happen you would have to be working with HTML in the first place and there would have to be a EOL character within a headings tag.

Djennez avatar Feb 22 '19 07:02 Djennez

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

amboutwe avatar Mar 22 '19 17:03 amboutwe

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

amboutwe avatar Mar 22 '19 17:03 amboutwe

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

amboutwe avatar May 27 '19 22:05 amboutwe

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

amboutwe avatar Jun 26 '19 19:06 amboutwe

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

amboutwe avatar Jun 27 '19 19:06 amboutwe

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

amboutwe avatar Aug 06 '19 22:08 amboutwe

Customer edited the HTML for the Heading Block as a workaround.

priscillamc avatar Aug 06 '19 23:08 priscillamc

It was happening today to my writers when they were copy and pasting their text from their editor into WordPress. We run in the same issue we had to remove a carriage return using WP Code editor.

dupenet99 avatar Nov 05 '19 01:11 dupenet99

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

monbauza avatar Jan 28 '20 09:01 monbauza