When "site name" is turned off in "Toggle Display," it still appears in the HTML with .element-invisible, instead of being removed.
This is a potential SEO and validation issue, because it means there's two <h1> tags on every page, which is illegal (and supposedly Google thinks it's spammy). Maybe an accessibility issue, if .element-invisible doesn't blank for screen readers.
This is easy to fix in page.tpl.php; the two conditions on $site_name should check $hide_site_name (which in fact page.tpl.php does not currently use at all).
Example site: http://buddhism-for-vampires.com/
thanks!
Comments
Comment #1
Anonymous (not verified) commentedComment #2
Jeff Burnz commentedWorks as designed - if you would like different behaviour you can change this in your site/theme. I think you're misunderstanding the html5 specification which is quite different from the html4/xhtml spec, for example in html5 page "sections" can all have h1 elements if you want.