[wp-trac] [WordPress Trac] #45673: Twenty Nineteen: Front page entry-title should be h1, not h2
WordPress Trac
noreply at wordpress.org
Wed Nov 8 07:49:40 UTC 2023
#45673: Twenty Nineteen: Front page entry-title should be h1, not h2
---------------------------+-----------------------------
Reporter: perandre | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Bundled Theme | Version:
Severity: minor | Resolution:
Keywords: | Focuses: accessibility
---------------------------+-----------------------------
Comment (by poena):
There is still no good solution for this problem.
On single posts, the H1 is the post title, and the user is responsible for
making sure that headings in the post content uses the correct heading
levels.
So when a theme instead uses an H2 for the post title on the blog, and the
blog displays the full post content, it creates an inconsistency that
makes it impossible for the user to choose heading levels that will work
everywhere.
But, using multiple H1 headings is discouraged, and it is common to use
H2's or even lower heading levels on the blog. I would think this pattern
is common enough for screen reader users to not have any problems
navigating the page, but of course this is my own thought and I don't have
any statistics or articles to back this up.
In Twenty Nineteen, the single H1 heading on the blog page is the site
title, and in other themes, the H1 may be a heading that says "Blog",
"Latest posts" or similar.
In Twenty Nineteen it is also possible to not use a post or page title,
and in this case there will not be a heading for the post on the blog.
----
Gutenberg or the block editor does not change the level of the heading
blocks in the post content, depending on the context. One feature related
to the heading level worth mentioning is that there is a document outline
in the post editor where the user can see a warning if their heading order
is incorrect.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45673#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list