The heading element allows you to specify a prefix. However, the prefix is appended without spaces. This is problematic for SEO and in my opinion a problem.
Especially if you work with the heading element as H1.
For example, you could use an H1 with a prefix (e.g. as a Accent Heading).
That’s right, and by default, you have span tag inside. It’s only if you enable “Prefix block” or “Suffix block”, that you get div elements.
Hello, thank you. Yes, I am aware that this is possible. But is it the way it should work?
We now know what happens. But very many beginners don’t know and will probably never notice the error.
Yeah, that’s true. I’ll talk with the rest of the team, to see if we can improve on that.
The problem with that is that somebody may not want to have space there. If we add space automatically, then it’s not So if anything, there could be an option for that maybe. I’ll mention this also, while we will talk about a div element inside h1.
Thank you very much!
I have tested it and I am not sure if you have understood the problem I have described.
You now have the option to add integrated “Spacing”.
However, this is only a visual representation.
The described problem still remains.
Prefix: “Car brand”
Title: “Mercedes”
What crawlers see is “Car brandMercedes”.
I have checked this with various SEO tools.
It does not matter whether you include a visual spacing.
I think that a checkbox “Add space ( & nbsp;) after prefix” would make more sense.
For crawlers it should look like this “Car brand Mercedes”
Is there a reason why you introduced the change only for the Post Title element and not for Product Title and other elements with prefix (e.g. Heading)?