- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 02 Sep 2009 01:01:23 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv19420 Modified Files: Overview.html Log Message: Add support for ARIA aria-level for headings; try confusing people less with <hgroup>. (whatwg r3726) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2901 retrieving revision 1.2902 diff -u -d -r1.2901 -r1.2902 --- Overview.html 1 Sep 2009 23:55:41 -0000 1.2901 +++ Overview.html 2 Sep 2009 01:01:20 -0000 1.2902 @@ -174,7 +174,7 @@ <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> <!--ZZZ:--> <h2 class="no-num no-toc" id="w3c-working-draft-25-august-2009">W3C Working Draft 25 August 2009</h2> - <!--<h2 class="no-num no-toc">Editor's Draft 1 September 2009</h2>--> + <!--<h2 class="no-num no-toc">Editor's Draft 2 September 2009</h2>--> <!--:ZZZ--> <dl><!-- ZZZ: update the month/day (twice), (un)comment out--><dt>This Version:</dt> <dd><a href="http://www.w3.org/TR/2009/WD-html5-20090825/">http://www.w3.org/TR/2009/WD-html5-20090825/</a></dd> @@ -272,7 +272,7 @@ track. <!--ZZZ:--> This specification is the 25 August 2009 Working Draft. - <!--This specification is the 1 September 2009 Editor's Draft.--> + <!--This specification is the 2 September 2009 Editor's Draft.--> <!--:ZZZ--> </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href="http://www.whatwg.org/">WHATWG</a>. The two specifications are identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of) @@ -8036,28 +8036,28 @@ <td><code title="attr-aria-role-contentinfo">contentinfo</code> role <tr><td><code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h1</a></code> element that does not have an <code><a href="#the-hgroup-element">hgroup</a></code> ancestor - <td><code title="attr-aria-role-heading">heading</code> role + <td><code title="attr-aria-role-heading">heading</code> role, with the <code title="attr-aria-level">aria-level</code> property set to the element's <a href="#outline-depth">outline depth</a> <tr><td><code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h2</a></code> element that does not have an <code><a href="#the-hgroup-element">hgroup</a></code> ancestor - <td><code title="attr-aria-role-heading">heading</code> role + <td><code title="attr-aria-role-heading">heading</code> role, with the <code title="attr-aria-level">aria-level</code> property set to the element's <a href="#outline-depth">outline depth</a> <tr><td><code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h3</a></code> element that does not have an <code><a href="#the-hgroup-element">hgroup</a></code> ancestor - <td><code title="attr-aria-role-heading">heading</code> role + <td><code title="attr-aria-role-heading">heading</code> role, with the <code title="attr-aria-level">aria-level</code> property set to the element's <a href="#outline-depth">outline depth</a> <tr><td><code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h4</a></code> element that does not have an <code><a href="#the-hgroup-element">hgroup</a></code> ancestor - <td><code title="attr-aria-role-heading">heading</code> role + <td><code title="attr-aria-role-heading">heading</code> role, with the <code title="attr-aria-level">aria-level</code> property set to the element's <a href="#outline-depth">outline depth</a> <tr><td><code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h5</a></code> element that does not have an <code><a href="#the-hgroup-element">hgroup</a></code> ancestor - <td><code title="attr-aria-role-heading">heading</code> role + <td><code title="attr-aria-role-heading">heading</code> role, with the <code title="attr-aria-level">aria-level</code> property set to the element's <a href="#outline-depth">outline depth</a> <tr><td><code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h6</a></code> element that does not have an <code><a href="#the-hgroup-element">hgroup</a></code> ancestor - <td><code title="attr-aria-role-heading">heading</code> role + <td><code title="attr-aria-role-heading">heading</code> role, with the <code title="attr-aria-level">aria-level</code> property set to the element's <a href="#outline-depth">outline depth</a> <tr><td><code><a href="#the-header-element">header</a></code> element <td><code title="attr-aria-role-banner">banner</code> role <tr><td><code><a href="#the-hgroup-element">hgroup</a></code> element - <td><code title="attr-aria-role-heading">heading</code> role + <td><code title="attr-aria-role-heading">heading</code> role, with the <code title="attr-aria-level">aria-level</code> property set to the element's <a href="#outline-depth">outline depth</a> <tr><td><code><a href="#the-hr-element">hr</a></code> element <td><code title="attr-aria-role-separator">separator</code> role @@ -11435,11 +11435,7 @@ heading of a section. The element is used to group a set of <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h1</a></code>–<code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h6</a></code> elements when the heading has multiple levels, such as subheadings, alternative titles, or - taglines.<p class="note">The point of <code><a href="#the-hgroup-element">hgroup</a></code> is to mask an - <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h2</a></code> element (that acts as a secondary title) from the - <a href="#outline">outline</a> algorithm.</p><!-- - http://www.brucelawson.co.uk/2009/html-5-is-a-mess/#comment-618895 - --><p>For the purposes of document summaries, outlines, and the like, + taglines.<p>For the purposes of document summaries, outlines, and the like, the text of <code><a href="#the-hgroup-element">hgroup</a></code> elements is defined to be the text of the highest <a href="#rank" title="rank">ranked</a> <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h1</a></code>–<code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h6</a></code> element descendant of the @@ -11470,6 +11466,12 @@ <h2>Or: How I Learned to Stop Worrying and Love the Bomb</h2> </hgroup></pre> + <p>The point of using <code><a href="#the-hgroup-element">hgroup</a></code> in these examples is to + mask the <code><a href="#the-h1-h2-h3-h4-h5-and-h6-elements">h2</a></code> element (which acts as a secondary title) + from the <a href="#outline">outline</a> algorithm.</p><!-- + http://www.brucelawson.co.uk/2009/html-5-is-a-mess/#comment-618895 + --> + </div><h4 id="the-header-element"><span class="secno">4.4.8 </span>The <dfn><code>header</code></dfn> element</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><dl class="element"><dt>Categories</dt> <dd><a href="#flow-content">Flow content</a>.</dd> <dd><a href="#formatblock-candidate"><code title="">formatBlock</code> candidate</a>.</dd> @@ -12051,6 +12053,17 @@ always takes the user to the top of the document, regardless of where the first heading in the <code><a href="#the-body-element-0">body</a></code> is to be found.</p> + <p>The <dfn id="outline-depth">outline depth</dfn> of a <a href="#heading-content">heading content</a> + element associated with a <a href="#concept-section" title="concept-section">section</a> <var title="">section</var> + is the number of <a href="#concept-section" title="concept-section">sections</a> that + are ancestors of <var title="">section</var> in the + <a href="#outline">outline</a> that <var title="">section</var> finds itself + in when the <a href="#outline" title="outline">outlines</a> of its + <code>Document</code>'s elements are created, plus 1. The + <a href="#outline-depth">outline depth</a> of a <a href="#heading-content">heading content</a> element + not associated with a <a href="#concept-section" title="concept-section">section</a> + is 1.</p> + <div class="note"> <p>The following JavaScript function shows how the tree walk could
Received on Wednesday, 2 September 2009 01:01:33 UTC