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

Headings not recognized #2207

Open evaanca opened 5 years ago

evaanca commented 5 years ago

Please give us a description of what happened.

Although I have headings in my post, in the „Readability analysis” from Yoast SEO, it shows I don't have any headings, although my text is rather long.

image

Please describe what you expected to happen and why.

I'd expect it to show when I have headings.

How can we reproduce this behavior?

  1. Yoast SEO doesn't recognize my headings.

Technical info

Used versions

Djennez commented 5 years ago

Hi @evaanca, are there any sections in your text where a subheading is followed by more than 300 words (without additional subheadings)? If so, that would be the trigger for this warning (specs here: https://github.com/Yoast/YoastSEO.js/wiki/Scoring-readability-analysis#1-subheading-distribution).

evaanca commented 5 years ago

Hello, No, my text has enough subheadings with less than 300 words each, but as youcan see in the picture I attached to the bug report, it doesn't recognize any subheading at all. O zi frumoasa,Eva Anca(Rândurile Evei)www.randurileevei.ro  tel.: 0770954673

On Monday, March 25, 2019, 10:05:23 AM GMT+2, Jannes <notifications@github.com> wrote:  

Hi @evaanca, are there any sections in your text where a subheading is followed by more than 300 words (without additional subheadings)? If so, that would be the trigger for this warning (specs here: https://github.com/Yoast/YoastSEO.js/wiki/Scoring-readability-analysis#1-subheading-distribution).

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

Djennez commented 5 years ago

Ok, could you try to reproduce this behavior with all plugins but the Yoast plugin disabled and the default theme? This would rule out other plugins interfering. Also: what kind of blocks are you using and do you have a copy of the text available with which we can run a few tests?

evaanca commented 5 years ago

I deactivated all the other plugins, but Yoast and it's the same. It still doesn't recognize the headings. I can attach you the word file with the post, if you want. O zi frumoasa,Eva Anca(Rândurile Evei)www.randurileevei.ro  tel.: 0770954673

On Monday, March 25, 2019, 11:26:50 AM GMT+2, Jannes <notifications@github.com> wrote:  

Ok, could you try to reproduce this behavior with all plugins but the Yoast plugin disabled and the default theme? This would rule out other plugins interfering. Also: what kind of blocks are you using and do you have a copy of the text available with which we can run a few tests?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

heidi2524 commented 5 years ago

I've also run into this issue of the Subheading distribution saying "You are not using any subheadings" when I do have headings ... but they are in Gutenberg's Reusable blocks.

If I have a normal Heading block, the Readability Analysis will say I have a heading.

From the experiments I've made, it has something to do with the reusable blocks.

Djennez commented 5 years ago

@heidi2524 thank you for that, that's another issue it looks like. It is, unfortunately, not this issue as far as I can see. The reusable blocks do not count toward headings for Gutenberg either, but the screenshot of @evaanca shows the Gutenberg info block with the correct subheadings.

@evaanca I was able to get the text from your website, but I was unable to reproduce the issue (it counts the subheadings correctly for me). Are there any language settings that could affect this?

evaanca commented 5 years ago

The text is written in Romanian. Could this be the problem? It doesn't happen all the time, but most of it, although all my posts are always written in Romanian. O zi frumoasa,Eva Anca(Rândurile Evei)www.randurileevei.ro  tel.: 0770954673

On Tuesday, March 26, 2019, 11:24:11 AM GMT+2, Jannes <notifications@github.com> wrote:  

@heidi2524 thank you for that, that's another issue it looks like. It is, unfortunately, not this issue as far as I can see. The reusable blocks do not count toward headings for Gutenberg either, but the screenshot of @evaanca shows the Gutenberg info block with the correct subheadings.

@evaanca I was able to get the text from your website, but I was unable to reproduce the issue (it counts the subheadings correctly for me). Are there any language settings that could affect this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

patjun commented 5 years ago

I got the same problem with a german text. We count the words an we are definitely below 300 Words between the headings.

2019-04-02_19-20-08