-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Page Layouts: Heading levels are skipped #43891
Comments
I was able to reproduce this issue easily with the provided instructions. I didn't check every page, but I did confirm issues with skipped heading ranks on a sample from the About Page templates, Blog Page templates, Contact Page templates, and Menu Page templates. It looks like the only reason we skipped heading ranks was to modify font size. I see the easiest solution being to refactor the rendered content for page templates. Rather than using heading ranks to change font size, we can use the correct heading ranks with customized font sizes (from block settings). Ex. In the one offending Menu Page Template, there is a There's a relevant discussion in #43892, an issue that also deals with skipped heading levels, but for Block Patterns instead of Page Templates. |
I am moving this to the triaging board to see if it's still an issue with the new layout picker on simple sites. If so, we can close it. |
Keeping open due to the ongoing conversation at #43892. |
@ianstewart Would you call this a dupe of #43892, meaning the fix for that issue would fix this at the same time – or are they separate mechanisms? |
This is a duplicate. I'll close it for now in favour of that issue. |
Steps to reproduce
What I expected
For the heading levels to be respected: H1 (page title) > H2 > H3 > H4 > H5 > H6
What happened instead
Many heading levels are skipped
Browser / OS version
Firefox 78.0.1 (64-bit)
Screenshot / Video
Context / Source
#dogfooding
The text was updated successfully, but these errors were encountered: