Currently, the site title is using an H1 tag, and this tag appears on every page, including individual blog post pages. Meanwhile, the titles of blog posts themselves are marked with H2 tags. While this structure might seem logical at first glance, it’s not in line with best practices for HTML semantics and SEO.
Why This is an Issue:
- Each Page Should Have One H1 Tag: According to web development best practices, each page should have a single H1 tag that represents the main content of that specific page. The H1 tag is critical for search engines and screen readers as it signifies the primary topic of the page. Therefore, on a blog post page, the blog post title should be the H1, as it is the main content of that page.
- The Site Title Should Not Be an H1 on Every Page: While the site title (often the name of the blog or website) is important, it doesn’t need to be an H1 tag on every page. Instead, it can be styled prominently using a
div
,span
, orp
tag along with CSS. This allows the page’s H1 to be reserved for the content that is unique to that specific page (i.e., the blog post title).
Supporting References:
- Moz states that “the H1 tag is typically reserved for the title of the content on a page, and each page should have only one H1 tag.” This makes it clear that each blog post should have its title as the H1 tag, not the site title that appears across every page (source).
- W3C’s HTML5 Specification emphasizes that the H1 tag should reflect the hierarchical structure of the page content, meaning the most important title on that specific page (source).
- Google’s SEO Starter Guide advises that each page should have a unique and descriptive H1 tag to help search engines understand the main content of the page (source).
Suggested Solution:
- Home Page: The site title can remain as the H1 tag on the homepage since it’s the main topic of that page.
- Blog Post Pages: The blog post titles should be changed to H1 tags, with the site title using a different tag like
div
,span
, orp
, styled appropriately for visual consistency.
Thank you for considering this feedback. Implementing these changes would not only align the software with best practices but also improve the SEO and accessibility of the sites that use it.