Re: [whatwg] content element, which we need in our documents

2012-09-09 Thread Ian Yang
McCathie Nevile cha...@yandex-team.ru To: whatwg wha...@whatwg.org Subject: Re: [whatwg] content element, which we need in our documents Message-ID: op.wj0en8gmy3oazb@chaals.local Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes On Thu, 30 Aug 2012 20:10:15 +0200

Re: [whatwg] content element, which we need in our documents

2012-09-02 Thread Charles McCathie Nevile
On Thu, 30 Aug 2012 20:10:15 +0200, Ian Hickson i...@hixie.ch wrote: ... On Fri, 29 Jun 2012, Cameron Jones wrote: If the content is a special section within the document you should use the section element which has semantic meaning over div. Alternatively you could use article if it's

Re: [whatwg] content element, which we need in our documents

2012-08-30 Thread Ian Hickson
On Fri, 29 Jun 2012, Ian Yang wrote: As many of you may have been aware that there is an important sectioning element we have been short of for a long time: the content element. That's body, as far as I can tell. Remember how we sectioned our documents in those old days? It's the

Re: [whatwg] content element, which we need in our documents (Ian Yang)

2012-06-30 Thread Aaron Gustafson
2012/6/29 (x-apple-data-detectors://8) Steve Faulkner faulkner.st...@gmail.com (mailto:faulkner.st...@gmail.com) ARIA fills the gap in HTML with role=main http://www.w3.org/TR/wai-aria/roles#main I agree that an explicit element would be nice, but the powers that be have rejected the

[whatwg] content element, which we need in our documents

2012-06-29 Thread Ian Yang
Hi editors in chief and everyone else, How have you been recently? As many of you may have been aware that there is an important sectioning element we have been short of for a long time: the content element. Remember how we sectioned our documents in those old days? It's the meaningless divs.

Re: [whatwg] content element, which we need in our documents

2012-06-29 Thread Ashley Sheridan
Ian Yang ian.h...@gmail.com wrote: Hi editors in chief and everyone else, How have you been recently? As many of you may have been aware that there is an important sectioning element we have been short of for a long time: the content element. Remember how we sectioned our documents in those

Re: [whatwg] content element, which we need in our documents

2012-06-29 Thread Ian Yang
Please note that the example of the nav in HTML5 spec uses div to wrap all the contents of the page other than the header and footer. And developers always wrap contents with div id=content/div or div class=content/div. Your website does that, too. If everything is content, then we would have

Re: [whatwg] content element, which we need in our documents

2012-06-29 Thread Cameron Jones
If the content is a special section within the document you should use the section element which has semantic meaning over div. Alternatively you could use article if it's distinct and self-contained. These two elements serve to disambiguate the abstract idea of content into something with

Re: [whatwg] content element, which we need in our documents

2012-06-29 Thread Ian Yang
As described in whatwg specs, a section, in this context, is a thematic grouping of content, typically with a heading. As for a article, which usually contains its own header and footer, is used to form an independent content like blog entry, comment, or application. Both section and article

Re: [whatwg] content element, which we need in our documents

2012-06-29 Thread Aurelio De Rosa
I agree with Ian about the use of article and section, the specifications are really clear on those elements. The are used to wrap an entire entry, not the content (in the meaning Ian stated). The read question for me is: What is the problem of having the content at the same level of header and

Re: [whatwg] content element, which we need in our documents

2012-06-29 Thread Cameron Jones
So, how do you propose to define what content represents? As a container element it is a thematic grouping. This is identical to section which is a thematic grouping with hierarchical context. What do you want to be able to do? If it is to simply lookup the content of the page as a unique

Re: [whatwg] content element, which we need in our documents

2012-06-29 Thread Ian Yang
By analyzing the example in HTML5 spec, wrapping all content elements can make the structure of the document become more organized. After all, content elements all being at the same level of header and footer is unreasonable, and sometimes looks messy, especially when there are many different

Re: [whatwg] content element, which we need in our documents

2012-06-29 Thread Cameron Jones
more organized for who? the author or the consumer? this is author aesthetics. On Fri, Jun 29, 2012 at 3:03 PM, Ian Yang ian.h...@gmail.com wrote: By analyzing the example in HTML5 spec, wrapping all content elements can make the structure of the document become more organized. After all,

Re: [whatwg] content element, which we need in our documents

2012-06-29 Thread Aurelio De Rosa
sometimes looks messy If this is the problem, or at least one of problems, how can a wrapper of all this mess, that is a tag, could solve the problem ? It will just add another node in DOM tree in this case without a real benefit. On Fri, Jun 29, 2012 at 4:03 PM, Ian Yang ian.h...@gmail.com

Re: [whatwg] content element, which we need in our documents

2012-06-29 Thread Steve Faulkner
Hi Ian, ARIA fills the gap in HTML with role=main http://www.w3.org/TR/wai-aria/roles#main I agree that an explicit element would be nice, but the powers that be have rejected the idea. -- with regards Steve Faulkner Technical Director - TPG www.paciellogroup.com | www.HTML5accessibility.com

Re: [whatwg] content element, which we need in our documents

2012-06-29 Thread Ian Yang
Hi Steve, Thank you. I understand. Regards, Ian 2012/6/29 Steve Faulkner faulkner.st...@gmail.com Hi Ian, ARIA fills the gap in HTML with role=main http://www.w3.org/TR/wai-aria/roles#main I agree that an explicit element would be nice, but the powers that be have rejected the idea.