Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widget titles should be <h2>, not <h1>? #8

Closed
isGabe opened this issue Mar 18, 2012 · 2 comments
Closed

Widget titles should be <h2>, not <h1>? #8

isGabe opened this issue Mar 18, 2012 · 2 comments

Comments

@isGabe
Copy link

isGabe commented Mar 18, 2012

It doesn't seem right to have h1 elements for every widget in the sidebar. I've always agreed with the position that there should generally only be one h1 per page.

Thoughts?

@philiparthurmoore
Copy link
Collaborator

I'll let others chime in on this as well, but as far as I know having multiple H1's on an HTML5 page is absolutely acceptable, as each element on a page can have its own H1. An H1 that is nested within header or article will be more important than an H1 that is nested within an aside, and all the widgets in _s are wrapped in asides.

For more information, see the following URL: http://www.whatwg.org/specs/web-apps/current-work/#headings-and-sections

Sections may contain headings of any rank, but authors are strongly encouraged to either use only h1 elements, or to use elements of the appropriate rank for the section's nesting level.

Hope that helps.

@isGabe
Copy link
Author

isGabe commented Mar 18, 2012

Thanks for the clarification and the link.

Maybe my thought process on that is a little outdated...old habits are hard to break.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants