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

providing logical heading structure with empty sections/articles #20

Open
stevefaulkner opened this issue May 23, 2014 · 2 comments
Open

Comments

@stevefaulkner
Copy link
Contributor

currently if a section is empty it still counts as part of the outline for assigning heading level - for example on this test page http://thepaciellogroup.github.io/w3c-heading/index1.html the logical heading level 3 is assigned a level of 4 due to nesting. I suggest it would be better to only step down a level if the previous sectioning element had a heading. thoughts?

@matatk
Copy link
Contributor

matatk commented Jun 10, 2014

This seems logical -- however, does the HTML spec mandate this? I would say that, if it does, we must implement this feature, whereas if it doesn't, it seems best for us to not add any extra behaviour, even if it does seem logical (working from the principle that "if it isn't in the spec, do nothing" is more robust in the long-term).

@stevefaulkner
Copy link
Contributor Author

No it doesn't but, it may well do i the future.

@matatk matatk self-assigned this Jun 11, 2014
@matatk matatk removed their assignment Jun 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants