Search posts, tags, users, and pages
We're all multiple H1 elements on this blessed day.
h1 is the most important heading of the page. Suppose you're writing a blog, there can be only one title of the page right?
That's h1.
Is the H1 the title of the publication or the individual article? What about main feed that shows the last 5 posts; Should those be H1s? Suppose it's a home page for some company like atlassian; would the H1 be "Atlassian" or maybe "Jira" then a second H1 "BitBucket"?
I guess what I'm getting at is there's no real reason to avoid a second H1 as long as it makes semantic sense.
YEARS ago there was an article that said google penalized for multiple H1; but that has long since been the case. When I researched using multiple H1s a year or so ago, that was the single empirical datapoint. No standard, guideline, or publication had any meaningful justification for avoiding multiple H1s other than the defunct Google ranking algorithm.
Screen readers support it.
Charlie Hayes
Having a single h1 is considered as best practice, yes it doesn't hurt your SEO but having one main title makes more semantically.
If I have multiple posts per page, I would probably group them and have a top-level heading h1 while using h2 on the post title.
I'm saying this from the reference of MDN Docs.
Declaring something best practice, no matter the authority, does not make it right. The MDN documentation is rather empty on supporting evidence:
You should only use one <h1> per page. Using more than one will not result in an error, but using only one is seen as a best practice. It makes logical sense — <h1> is the most important heading, and tells you what the purpose of the overall page is. You wouldn't have a book with more than one title, or a movie with more than one name! Having a single top-level title is also arguably better for screenreader users, and SEO.