Summary

Category Blog pages only use a H1 tag if "show page heading" is Yes.

If this is No, the H1 tag is skipped and H2 is then used for Page Subheading and / or Category Title.

I suggest that blog.php is enhanced to use H1 for Page Subheading / Category Title in the event that "show page heading" is No, and that a hint is passed to blog_item.php to show an h1 for the first Leading Article if Page Heading / Subheading / Category Title are not shown either.
Opened On:
11 Mar 2013, 6:51 by Paul Freeman
Closed On:
9 May 2013, 10:44
Status:
Closed

Filed Under

  • Components
  • No Platform Implications

Responses

Posted on 11 Apr 2013, 16:44 by Valentin Despa
This can basically be change with a template override. I don't see this necessary as a bug.

But if you have a solution in mind on how to overcome this, feel free to make a pull request.

Thanks for understanding.
Posted on 12 Apr 2013, 14:03 by Paul Freeman
It is a bug only in the sense that Google (and other search engines) use H1 tags as part of their page analysis - pages without H1 tags are not telling search engines what the page is about. Although having an H1 tag is not an HTML language requirement, it is certainly a de-facto standard for good SEO web page design.

When you set show page heading to No, there is no H1 tag. My solution is to use an h1 tag for the first Leading article title shown in the blog.

I will attach my overrides (which may also include other "fixes").
Posted on 19 Apr 2013, 12:13 by Valentin Despa
Hi,

Please upload files like *.php.txt or better create a patch of a pull request.

Thanks!
Posted on 9 May 2013, 10:44 by Brian Teeman


Personally I dont think the proposed solution as described is a good solution as it is semantically incorrect to arbitrarily chose an article to be the H1 for a page. This is really something that could and should be left to the individual site owner to decide using a template override.

But without being able to view the php it is only a guess at what the code does
Posted on 28 May 2014, 5:25 by Paul Freeman

There is now an extension which provides this functionality http://extensions.joomla.org/extensions/site-management/seo-a-metadata/meta-data/14835.