-
Notifications
You must be signed in to change notification settings - Fork 530
Why can't <header> have <header> descendants? #273
Comments
That code example makes little sense to me. In the case of an “About the author” section, it should be either an aside to the article, the main, or in the |
This duplicates #34 - please check the discussion there too. |
From @stevefaulkner in #34:
|
Comment #273 (comment) sounds reasonable to me. |
It's not a child of an header, it's a child of a sectioning element that is within an header.
I think sections in site footers are pretty common, and those section may have an header with a title, and that's just as common. If this restriction will be permanent, people will use OT @travisleithead can you please remove my email to be publicly visible in this issue's first post? desperately trying (and failing) to avoid spam :-P ty |
Nested |
email obfuscated -- sorry about that. |
A use case to allow - you build a component with a Check ARIA mapping implications - @stevefaulkner |
[make sure that content model for header and footer can accept headers and footers] |
I note that my comments: #34 (comment) have had no response, I don't see any substantive arguments as to why we should be allowing this change. |
@stevefaulkner Because there are concrete use cases that seem legitimate, and because there is no obvious value to the restriction in the first place, notwithstanding @MichielBijl's point. |
@chaals looking at the provided example #273 (comment) this is not a reason to allow header to have headers as children but to allow headers to have header descendents when the header contains a sectioning element. I suggest that this makes sense but allowing headers not contained within sectioning descendents does not. So i suggest that:
or
should remain non conforming, but
should be allowed, which covers the provided use case |
I understand why the markup you suggest is better, but I am not sure what value we get out of requiring that. |
@chaals the value is that nesting of headers is discouraged and when used as a descendent of a sectioning element it is scoped as intended. |
…eality (#448) * modified header content model +added example refer to #273 * modified footer element content model to reflect header * update article element to match reality better refer to #110 * missed UA advice in last commit * updated sectioning content to reflect reality added information to each sectioning element about how AT and other user agents may convey the semantics and provide navigation. Updated examples to reflect of heading semantics implementation, updated warning about the outline algorithm, reinforcing normatively that authors SHOULD use headings of appropriate level in relation to how they are nested within sectioning content. * updated sections text to respond to various comments refer to @chaals comments in #448
…eality (w3c#448) * modified header content model +added example refer to w3c#273 * modified footer element content model to reflect header * update article element to match reality better refer to w3c#110 * missed UA advice in last commit * updated sectioning content to reflect reality added information to each sectioning element about how AT and other user agents may convey the semantics and provide navigation. Updated examples to reflect of heading semantics implementation, updated warning about the outline algorithm, reinforcing normatively that authors SHOULD use headings of appropriate level in relation to how they are nested within sectioning content. * updated sections text to respond to various comments refer to @chaals comments in w3c#448
Moved from https://www.w3.org/Bugs/Public/show_bug.cgi?id=24853
@stevefaulkner might be able to answer this. Original Bugzilla bug created by: n**a@gmail.com
The text was updated successfully, but these errors were encountered: