<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: The section element</title>
	<atom:link href="http://html5doctor.com/the-section-element/feed/" rel="self" type="application/rss+xml" />
	<link>http://html5doctor.com/the-section-element/</link>
	<description>helping you implement HTML5 today</description>
	<lastBuildDate>Thu, 11 Mar 2010 20:04:25 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris Pratt</title>
		<link>http://html5doctor.com/the-section-element/comment-page-2/#comment-1374</link>
		<dc:creator>Chris Pratt</dc:creator>
		<pubDate>Wed, 14 Oct 2009 15:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=858#comment-1374</guid>
		<description>Instead of theorizing what the &lt;em&gt;draft&lt;/em&gt; spec says for &lt;section&gt;, shouldn&#039;t we be trying to determine the reason behind adding &lt;section&gt; in the first place?

As I&#039;m coming to understand it, it looks, at least on the surface, that the motivation for &lt;section&gt; is to simply provide a grouping of heading+content that a machine could extract or manipulate. As it currently stands, content on the internet consists of any number of headings, paragraphs, lists, etc., in virtually random order (from a machine&#039;s perspective). Say I wanted to programmatically pull out the second heading with its content from an article. Currently, this would be an audacious if not insurmountable task. But, if each logical division of a piece of content was wrapped in a &lt;section&gt; element, I could jump right into the DOM, and get what I wanted with something as simple as &quot;getElementsByTagName(&#039;section&#039;)[1]&quot; (`1` here representing the second element in the array).

&lt;section&gt; seems mostly if not entirely devoted to machines (i.e. web applications), only holding value to end-users by proxy of the greater abilities it gives to web applications.</description>
		<content:encoded><![CDATA[<p>Instead of theorizing what the <em>draft</em> spec says for &lt;section&gt;, shouldn&#8217;t we be trying to determine the reason behind adding &lt;section&gt; in the first place?</p>
<p>As I&#8217;m coming to understand it, it looks, at least on the surface, that the motivation for &lt;section&gt; is to simply provide a grouping of heading+content that a machine could extract or manipulate. As it currently stands, content on the internet consists of any number of headings, paragraphs, lists, etc., in virtually random order (from a machine&#8217;s perspective). Say I wanted to programmatically pull out the second heading with its content from an article. Currently, this would be an audacious if not insurmountable task. But, if each logical division of a piece of content was wrapped in a &lt;section&gt; element, I could jump right into the DOM, and get what I wanted with something as simple as &#8220;getElementsByTagName(&#8217;section&#8217;)[1]&#8221; (`1` here representing the second element in the array).</p>
<p>&lt;section&gt; seems mostly if not entirely devoted to machines (i.e. web applications), only holding value to end-users by proxy of the greater abilities it gives to web applications.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://html5doctor.com/the-section-element/comment-page-2/#comment-1314</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Fri, 09 Oct 2009 16:51:37 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=858#comment-1314</guid>
		<description>This makes perfect sense to me as I&#039;ve often wanted to attach a heading to specific paragraphs and content, and mark up nested headings and there appropriate content. This is the use of section :)</description>
		<content:encoded><![CDATA[<p>This makes perfect sense to me as I&#8217;ve often wanted to attach a heading to specific paragraphs and content, and mark up nested headings and there appropriate content. This is the use of section <img src='http://html5doctor.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niels Matthijs</title>
		<link>http://html5doctor.com/the-section-element/comment-page-2/#comment-1223</link>
		<dc:creator>Niels Matthijs</dc:creator>
		<pubDate>Fri, 02 Oct 2009 10:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=858#comment-1223</guid>
		<description>The difference between div, article and section is indeed quite hard to grasp from the start. It probably helps to code a few sites first and to see how far you get with these items.

I like the &quot;natural heading&quot; idea of a section to separate it from a div. Considering a homepage, you can have sections for &quot;news&quot;, &quot;banners&quot;, &quot;focus items&quot; etc etc. The danger of the section element is that people would obviously want to replace the div. 

What I don&#039;t like about this article is that the div is put forward as an element needed for styling or javascript. The div is (and always has been) a generic structural element, and should still be considered as such. It&#039;s probably best to keep using divs to structure content within an article or section element. I think the meta data of an article (author, date, whatever other info) should still be wrapped in a div, as it makes very little sense as a standalone blob of information.

So on the homepage you could have a section class=&quot;newsList&quot;, containing a list of articles, containing a header with a heading and div for meta data.

On a sidenote, the whole mess seems a result of the lack of structural understanding. Divitis is not only a disease, the counterreaction is a disease by itself. At least tags like section and article might change this again.</description>
		<content:encoded><![CDATA[<p>The difference between div, article and section is indeed quite hard to grasp from the start. It probably helps to code a few sites first and to see how far you get with these items.</p>
<p>I like the &#8220;natural heading&#8221; idea of a section to separate it from a div. Considering a homepage, you can have sections for &#8220;news&#8221;, &#8220;banners&#8221;, &#8220;focus items&#8221; etc etc. The danger of the section element is that people would obviously want to replace the div. </p>
<p>What I don&#8217;t like about this article is that the div is put forward as an element needed for styling or javascript. The div is (and always has been) a generic structural element, and should still be considered as such. It&#8217;s probably best to keep using divs to structure content within an article or section element. I think the meta data of an article (author, date, whatever other info) should still be wrapped in a div, as it makes very little sense as a standalone blob of information.</p>
<p>So on the homepage you could have a section class=&#8221;newsList&#8221;, containing a list of articles, containing a header with a heading and div for meta data.</p>
<p>On a sidenote, the whole mess seems a result of the lack of structural understanding. Divitis is not only a disease, the counterreaction is a disease by itself. At least tags like section and article might change this again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://html5doctor.com/the-section-element/comment-page-1/#comment-1118</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 23 Sep 2009 18:05:25 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=858#comment-1118</guid>
		<description>@Don

It is true that not everyone will use HTML5 correctly, just like the majority of existing content won&#039;t be updated to HTML5. However, disabled users are picky about the websites they use and if HTML5 proves to be as useful as we hope, they will most likely prefer to access sites written in it. The big boys like Amazon and eBay can implement it and make it massively easier to navigate these large, complicated websites. And for the other small sites that don&#039;t, the screen readers can fall back to the technology that they&#039;ve been using throughout this century.

In short, it is nothing but a benefit to the users at a small cost to the developers. 

As for the element confusion, remember that Web Developers need to read manuals too. In the most part, section can be completely ignored and replaced with proper heading elements, the outliner will create the sections itself.</description>
		<content:encoded><![CDATA[<p>@Don</p>
<p>It is true that not everyone will use HTML5 correctly, just like the majority of existing content won&#8217;t be updated to HTML5. However, disabled users are picky about the websites they use and if HTML5 proves to be as useful as we hope, they will most likely prefer to access sites written in it. The big boys like Amazon and eBay can implement it and make it massively easier to navigate these large, complicated websites. And for the other small sites that don&#8217;t, the screen readers can fall back to the technology that they&#8217;ve been using throughout this century.</p>
<p>In short, it is nothing but a benefit to the users at a small cost to the developers. </p>
<p>As for the element confusion, remember that Web Developers need to read manuals too. In the most part, section can be completely ignored and replaced with proper heading elements, the outliner will create the sections itself.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich Clark</title>
		<link>http://html5doctor.com/the-section-element/comment-page-1/#comment-1111</link>
		<dc:creator>Rich Clark</dc:creator>
		<pubDate>Wed, 23 Sep 2009 11:25:31 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=858#comment-1111</guid>
		<description>@oli &amp; @christopher,

thanks for the comments, we did have the notes for what is/isn&#039;t allowed in but I accidentally commented them out when making some changes recently, thye&#039;re no restored.

Ta

Rich</description>
		<content:encoded><![CDATA[<p>@oli &amp; @christopher,</p>
<p>thanks for the comments, we did have the notes for what is/isn&#8217;t allowed in but I accidentally commented them out when making some changes recently, thye&#8217;re no restored.</p>
<p>Ta</p>
<p>Rich</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce Lawson</title>
		<link>http://html5doctor.com/the-section-element/comment-page-1/#comment-1110</link>
		<dc:creator>Bruce Lawson</dc:creator>
		<pubDate>Wed, 23 Sep 2009 11:07:08 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=858#comment-1110</guid>
		<description>Don

r/e your blind friend: everyone is different. I have blind friends who scan a page using &quot;L&quot; to go to lists (eg, go round navigation etc), &quot;T&quot; to go to tables, etc. Most screenreader users rely on a proper hierarchy of headings to navigate a page with (See a video of a blind web dev doing this: http://www.youtube.com/watch?v=AmUPhEVWu_E). Having a &quot;flat&quot; structure makes this impossible.

The sectioning content and outlining algorithm simplifies the ability to properly structure headings, particularly with syndicated content.</description>
		<content:encoded><![CDATA[<p>Don</p>
<p>r/e your blind friend: everyone is different. I have blind friends who scan a page using &#8220;L&#8221; to go to lists (eg, go round navigation etc), &#8220;T&#8221; to go to tables, etc. Most screenreader users rely on a proper hierarchy of headings to navigate a page with (See a video of a blind web dev doing this: <a href="http://www.youtube.com/watch?v=AmUPhEVWu_E)" rel="nofollow">http://www.youtube.com/watch?v=AmUPhEVWu_E)</a>. Having a &#8220;flat&#8221; structure makes this impossible.</p>
<p>The sectioning content and outlining algorithm simplifies the ability to properly structure headings, particularly with syndicated content.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://html5doctor.com/the-section-element/comment-page-1/#comment-1109</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Wed, 23 Sep 2009 10:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=858#comment-1109</guid>
		<description>@Bruce:
Although I wholeheartedly agree with better accessibility constructs, I seriously doubt that things like section etc. will do the job. First of all, it will only work if everybody uses it correctly, and seeing as how ambiguous these new elements are...
Secondly, I have a blind friend who on occasion tests my sites. At one point he told me to stop trying too hard. His view on the matter is this: Radio, spoken books, tv, etc. don&#039;t use elements either. The best way to solve accessibility issues on websites for the blind is by having the site read by a real person. As long as that doesn&#039;t cut is use headings correctly and make the rest of the text as &quot;flat&quot; as possible. 
Now obviously part of this is a personal preference, but it does show that perhaps we are forcing accessibility in a direction it should be taken.</description>
		<content:encoded><![CDATA[<p>@Bruce:<br />
Although I wholeheartedly agree with better accessibility constructs, I seriously doubt that things like section etc. will do the job. First of all, it will only work if everybody uses it correctly, and seeing as how ambiguous these new elements are&#8230;<br />
Secondly, I have a blind friend who on occasion tests my sites. At one point he told me to stop trying too hard. His view on the matter is this: Radio, spoken books, tv, etc. don&#8217;t use elements either. The best way to solve accessibility issues on websites for the blind is by having the site read by a real person. As long as that doesn&#8217;t cut is use headings correctly and make the rest of the text as &#8220;flat&#8221; as possible.<br />
Now obviously part of this is a personal preference, but it does show that perhaps we are forcing accessibility in a direction it should be taken.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce Lawson</title>
		<link>http://html5doctor.com/the-section-element/comment-page-1/#comment-1107</link>
		<dc:creator>Bruce Lawson</dc:creator>
		<pubDate>Wed, 23 Sep 2009 10:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=858#comment-1107</guid>
		<description>@david

@alohci is right: the outliner is not a validator. But I agree that &quot;untitled section&quot; isn&#039;t helpful. There is a bug filed that the outliner should generate something meaningful - so when it encounters &lt;code&gt;nav&lt;/code&gt;, which is sectioning content, it should show the top-level heading within the nav element (if there is one) or say &quot;(navigation)&quot; instead of &quot;untitled section&quot;. It&#039;s perfectly legitimate not to have a heading in navigation, footer or aside.

In my diagnosis, the main cause of sectionpox (the new div-itis) is people want to put it around &quot;main content&quot;. I think that the  best reason  for adopting a &lt;code&gt;main&lt;/code&gt; or &lt;code&gt;content&lt;/code&gt; element is to stop people misusing section. But I doubt that the working group will sanction a &quot;safety tag&quot; as it were.

@Don asked &quot;why? I can write scripts, algorithms and related stuff to apply to a div with class=”section” as easy as it is to a section-element . Sure, not everybody will use the same class-name, but then again, not everybody will use the section element correctly.&quot;

On Saturday I was listening to Jamie Knight, a sighted web developer with autism explaining that he sometimes uses a screenreader when stressed as it&#039;s easier than reading. On a blog post on my own site, I wrote

&lt;blockquote&gt;
He made his own screenreader that listens out for certain ids or class names like “navigation”, “menu”, “sidebar” so that his screenreader can skip the peripheral information on repeated views.

With the “baked-in” elements like nav, footer etc, this would be achievable with much greater precision.&lt;/blockquote&gt;

http://www.brucelawson.co.uk/2009/standards-next-cognition-and-accessibility/

Having real elements takes away the ambiguity of different naming conventions and means that programmatic user agents - like search engines or screenreaders - can &quot;understand&quot; content better.

@thinsoldier - you asked &quot;yes or no&quot;. No.
Most people would use sections a lot; to wrap up areas of code to disambiguate where sections start and end; to surround areas demarcated with headings inside articles that were to be syndicated, so that the sites that import that content can apply CSS that works for the importing sites&#039; outline and so the outlining algorithm works correctly. 

Regarding non-blog sites, for example http://portal.opera.com or iGoogle http://www.google.com/ig, I would mark up each &quot;lump&quot; of content as a different &lt;code&gt;section&lt;/code&gt; because, well, each is a different section.</description>
		<content:encoded><![CDATA[<p>@david</p>
<p>@alohci is right: the outliner is not a validator. But I agree that &#8220;untitled section&#8221; isn&#8217;t helpful. There is a bug filed that the outliner should generate something meaningful &#8211; so when it encounters <code>nav</code>, which is sectioning content, it should show the top-level heading within the nav element (if there is one) or say &#8220;(navigation)&#8221; instead of &#8220;untitled section&#8221;. It&#8217;s perfectly legitimate not to have a heading in navigation, footer or aside.</p>
<p>In my diagnosis, the main cause of sectionpox (the new div-itis) is people want to put it around &#8220;main content&#8221;. I think that the  best reason  for adopting a <code>main</code> or <code>content</code> element is to stop people misusing section. But I doubt that the working group will sanction a &#8220;safety tag&#8221; as it were.</p>
<p>@Don asked &#8220;why? I can write scripts, algorithms and related stuff to apply to a div with class=”section” as easy as it is to a section-element . Sure, not everybody will use the same class-name, but then again, not everybody will use the section element correctly.&#8221;</p>
<p>On Saturday I was listening to Jamie Knight, a sighted web developer with autism explaining that he sometimes uses a screenreader when stressed as it&#8217;s easier than reading. On a blog post on my own site, I wrote</p>
<blockquote><p>
He made his own screenreader that listens out for certain ids or class names like “navigation”, “menu”, “sidebar” so that his screenreader can skip the peripheral information on repeated views.</p>
<p>With the “baked-in” elements like nav, footer etc, this would be achievable with much greater precision.</p></blockquote>
<p><a href="http://www.brucelawson.co.uk/2009/standards-next-cognition-and-accessibility/" rel="nofollow">http://www.brucelawson.co.uk/2009/standards-next-cognition-and-accessibility/</a></p>
<p>Having real elements takes away the ambiguity of different naming conventions and means that programmatic user agents &#8211; like search engines or screenreaders &#8211; can &#8220;understand&#8221; content better.</p>
<p>@thinsoldier &#8211; you asked &#8220;yes or no&#8221;. No.<br />
Most people would use sections a lot; to wrap up areas of code to disambiguate where sections start and end; to surround areas demarcated with headings inside articles that were to be syndicated, so that the sites that import that content can apply CSS that works for the importing sites&#8217; outline and so the outlining algorithm works correctly. </p>
<p>Regarding non-blog sites, for example <a href="http://portal.opera.com" rel="nofollow">http://portal.opera.com</a> or iGoogle <a href="http://www.google.com/ig" rel="nofollow">http://www.google.com/ig</a>, I would mark up each &#8220;lump&#8221; of content as a different <code>section</code> because, well, each is a different section.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thinsoldier</title>
		<link>http://html5doctor.com/the-section-element/comment-page-1/#comment-1101</link>
		<dc:creator>thinsoldier</dc:creator>
		<pubDate>Tue, 22 Sep 2009 19:32:11 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=858#comment-1101</guid>
		<description>So, 99% of the time, 99% of authors on 99% of projects would not use the section tag?
Yes or no.</description>
		<content:encoded><![CDATA[<p>So, 99% of the time, 99% of authors on 99% of projects would not use the section tag?<br />
Yes or no.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://html5doctor.com/the-section-element/comment-page-1/#comment-1099</link>
		<dc:creator>David</dc:creator>
		<pubDate>Tue, 22 Sep 2009 17:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://html5doctor.com/?p=858#comment-1099</guid>
		<description>@Alohci 

Cool. Yea I wasn&#039;t really thinking of the outliner as a validator but it&#039;s still strange to &quot;warn&quot; me of an untitled section even though it&#039;s really not warranted. 

Thanks for the info.</description>
		<content:encoded><![CDATA[<p>@Alohci </p>
<p>Cool. Yea I wasn&#8217;t really thinking of the outliner as a validator but it&#8217;s still strange to &#8220;warn&#8221; me of an untitled section even though it&#8217;s really not warranted. </p>
<p>Thanks for the info.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
