Skip to content

Commit

Permalink
[e] (0) Apply W3C chair revert request (to W3C copy only). Fix markup…
Browse files Browse the repository at this point in the history
… typo.

Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@6980 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 8, 2012
1 parent 20e8706 commit 4777b47
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 34 deletions.
41 changes: 30 additions & 11 deletions complete.html
Expand Up @@ -1489,6 +1489,11 @@ <h6 class=no-toc id=how-do-the-whatwg-and-w3c-specifications-differ?><span class
not yet formally resolved in the W3C and the specifications will
likely converge on this issue when it is.</li><!--PUBDATE--><!--FORK-->

<li>The W3C HTML specification contradicts the ARIA specification
because of a <a href=http://lists.w3.org/Archives/Public/public-html/2012Feb/0066.html>working
group chair request from February
2012</a>.</li><!--HIDDENARIA--><!--FORK-->

</ul><p>The following sections are only published in the WHATWG
specifications and are not currently available anywhere else:</p>

Expand Down Expand Up @@ -11329,11 +11334,11 @@ <h5 id=the-translate-attribute><span class=secno>3.2.3.4 </span>The <code title=
element's <code title=attr-translate><a href=#attr-translate>translate</a></code> attribute is
in the <i>no</i> state, then the element's <a href=#translation-mode>translation
mode</a> is in the <a href=#no-translate>no-translate</a> state. Otherwise,
the element's code title="attr-translate"&gt;translate attribute
is in the <i>inherit</i> state; in that case, the element's
<a href=#translation-mode>translation mode</a> is in the same state as its parent
element, if any, or in the <a href=#translate-enabled>translate-enabled</a> state, if
the element is a <a href=#root-element>root element</a>.</p>
the element's <code title=attr-translate><a href=#attr-translate>translate</a></code>
attribute is in the <i>inherit</i> state; in that case, the
element's <a href=#translation-mode>translation mode</a> is in the same state as its
parent element, if any, or in the <a href=#translate-enabled>translate-enabled</a>
state, if the element is a <a href=#root-element>root element</a>.</p>

<p>When an element is in the <dfn id=translate-enabled>translate-enabled</dfn> state, the
element's attribute values and the values of its <code><a href=#text>Text</a></code>
Expand Down Expand Up @@ -70737,12 +70742,20 @@ <h2 id=editing><span class=secno>8 </span><dfn>User interaction</dfn></h2>
<h3 id=the-hidden-attribute><span class=secno>8.1 </span>The <dfn title=attr-hidden><code>hidden</code></dfn> attribute</h3>

<p>All <a href=#html-elements>HTML elements</a> may have the <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> content attribute set. The <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute is a <a href=#boolean-attribute>boolean
attribute</a>. When specified on an element, it indicates that
the element is not yet, or is no longer, directly relevant to the
page's current state, or that it is being used to declare content to
be reused by other parts of the page as opposed to being directly
accessed by the user. <span class=impl>User agents should not
render elements that have the <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute specified.</span></p>
attribute</a>.

<!--HIDDENARIA--><!--FORK-->

When specified on an element, it indicates that the element is not
yet, or is no longer, directly relevant to the page's current state,
or that it is being used to declare content to be reused by other
parts of the page as opposed to being directly accessed by the user.


<span class=impl>User agents should not render elements that have
the <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute
specified.</span></p>


<div class=example>

Expand Down Expand Up @@ -70783,6 +70796,8 @@ <h3 id=the-hidden-attribute><span class=secno>8.1 </span>The <dfn title=attr-hid
<!-- for example, "<a hidden href=#content>Skip to content</a>" would be inappropriate. -->
<!-- (but only add that example if you first add some more good valid examples -->

<!--HIDDENARIA--><!--FORK-->

<p>Elements that are not themselves <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> must not <a href=#hyperlink>hyperlink</a> to
elements that are <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code>. The <code title="">for</code> attributes of <code><a href=#the-label-element>label</a></code> and
<code><a href=#the-output-element>output</a></code> elements that are not themselves <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> must similarly not refer to
Expand All @@ -70792,13 +70807,16 @@ <h3 id=the-hidden-attribute><span class=secno>8.1 </span>The <dfn title=attr-hid
<p>Elements and scripts may, however, refer to elements that are
<code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> in other contexts.</p>


<div class=example>

<p>For example, it would be incorrect to use the <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute to link to a
section marked with the <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code>
attribute. If the content is not applicable or relevant, then there
is no reason to link to it.</p>

<!--HIDDENARIA--><!--FORK-->

<p>It would be fine, however, to use the ARIA <code title=attr-aria-describedby>aria-describedby</code> attribute to
refer to descriptions that are themselves <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code>. While hiding the descriptions
implies that they are not useful alone, they could be written in
Expand All @@ -70810,6 +70828,7 @@ <h3 id=the-hidden-attribute><span class=secno>8.1 </span>The <dfn title=attr-hid
control could refer to a hidden <code><a href=#the-form-element>form</a></code> element using its
<code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute.</p>


</div>

<p>Elements in a section hidden by the <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute are still active,
Expand Down
41 changes: 30 additions & 11 deletions index
Expand Up @@ -1489,6 +1489,11 @@
not yet formally resolved in the W3C and the specifications will
likely converge on this issue when it is.</li><!--PUBDATE--><!--FORK-->

<li>The W3C HTML specification contradicts the ARIA specification
because of a <a href=http://lists.w3.org/Archives/Public/public-html/2012Feb/0066.html>working
group chair request from February
2012</a>.</li><!--HIDDENARIA--><!--FORK-->

</ul><p>The following sections are only published in the WHATWG
specifications and are not currently available anywhere else:</p>

Expand Down Expand Up @@ -11329,11 +11334,11 @@ Transport Protocol"&gt;HTTP&lt;/abbr&gt; today.&lt;/p&gt;</pre>
element's <code title=attr-translate><a href=#attr-translate>translate</a></code> attribute is
in the <i>no</i> state, then the element's <a href=#translation-mode>translation
mode</a> is in the <a href=#no-translate>no-translate</a> state. Otherwise,
the element's code title="attr-translate"&gt;translate attribute
is in the <i>inherit</i> state; in that case, the element's
<a href=#translation-mode>translation mode</a> is in the same state as its parent
element, if any, or in the <a href=#translate-enabled>translate-enabled</a> state, if
the element is a <a href=#root-element>root element</a>.</p>
the element's <code title=attr-translate><a href=#attr-translate>translate</a></code>
attribute is in the <i>inherit</i> state; in that case, the
element's <a href=#translation-mode>translation mode</a> is in the same state as its
parent element, if any, or in the <a href=#translate-enabled>translate-enabled</a>
state, if the element is a <a href=#root-element>root element</a>.</p>

<p>When an element is in the <dfn id=translate-enabled>translate-enabled</dfn> state, the
element's attribute values and the values of its <code><a href=#text>Text</a></code>
Expand Down Expand Up @@ -70737,12 +70742,20 @@ interface <dfn id=navigatorstorageutils>NavigatorStorageUtils</dfn> {
<h3 id=the-hidden-attribute><span class=secno>8.1 </span>The <dfn title=attr-hidden><code>hidden</code></dfn> attribute</h3>

<p>All <a href=#html-elements>HTML elements</a> may have the <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> content attribute set. The <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute is a <a href=#boolean-attribute>boolean
attribute</a>. When specified on an element, it indicates that
the element is not yet, or is no longer, directly relevant to the
page's current state, or that it is being used to declare content to
be reused by other parts of the page as opposed to being directly
accessed by the user. <span class=impl>User agents should not
render elements that have the <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute specified.</span></p>
attribute</a>.

<!--HIDDENARIA--><!--FORK-->

When specified on an element, it indicates that the element is not
yet, or is no longer, directly relevant to the page's current state,
or that it is being used to declare content to be reused by other
parts of the page as opposed to being directly accessed by the user.


<span class=impl>User agents should not render elements that have
the <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute
specified.</span></p>


<div class=example>

Expand Down Expand Up @@ -70783,6 +70796,8 @@ interface <dfn id=navigatorstorageutils>NavigatorStorageUtils</dfn> {
<!-- for example, "<a hidden href=#content>Skip to content</a>" would be inappropriate. -->
<!-- (but only add that example if you first add some more good valid examples -->

<!--HIDDENARIA--><!--FORK-->

<p>Elements that are not themselves <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> must not <a href=#hyperlink>hyperlink</a> to
elements that are <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code>. The <code title="">for</code> attributes of <code><a href=#the-label-element>label</a></code> and
<code><a href=#the-output-element>output</a></code> elements that are not themselves <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> must similarly not refer to
Expand All @@ -70792,13 +70807,16 @@ interface <dfn id=navigatorstorageutils>NavigatorStorageUtils</dfn> {
<p>Elements and scripts may, however, refer to elements that are
<code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> in other contexts.</p>


<div class=example>

<p>For example, it would be incorrect to use the <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute to link to a
section marked with the <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code>
attribute. If the content is not applicable or relevant, then there
is no reason to link to it.</p>

<!--HIDDENARIA--><!--FORK-->

<p>It would be fine, however, to use the ARIA <code title=attr-aria-describedby>aria-describedby</code> attribute to
refer to descriptions that are themselves <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code>. While hiding the descriptions
implies that they are not useful alone, they could be written in
Expand All @@ -70810,6 +70828,7 @@ interface <dfn id=navigatorstorageutils>NavigatorStorageUtils</dfn> {
control could refer to a hidden <code><a href=#the-form-element>form</a></code> element using its
<code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute.</p>


</div>

<p>Elements in a section hidden by the <code title=attr-hidden><a href=#the-hidden-attribute>hidden</a></code> attribute are still active,
Expand Down
67 changes: 55 additions & 12 deletions source
Expand Up @@ -227,6 +227,12 @@
not yet formally resolved in the W3C and the specifications will
likely converge on this issue when it is.</li><!--PUBDATE--><!--FORK-->

<li>The W3C HTML specification contradicts the ARIA specification
because of a <a
href="http://lists.w3.org/Archives/Public/public-html/2012Feb/0066.html">working
group chair request from February
2012</a>.</li><!--HIDDENARIA--><!--FORK-->

</ul>

<p>The following sections are only published in the WHATWG
Expand Down Expand Up @@ -11745,11 +11751,11 @@ Transport Protocol">HTTP&lt;/abbr> today.&lt;/p></pre>
element's <code title="attr-translate">translate</code> attribute is
in the <i>no</i> state, then the element's <span>translation
mode</span> is in the <span>no-translate</span> state. Otherwise,
the element's code title="attr-translate">translate</code> attribute
is in the <i>inherit</i> state; in that case, the element's
<span>translation mode</span> is in the same state as its parent
element, if any, or in the <span>translate-enabled</span> state, if
the element is a <span>root element</span>.</p>
the element's <code title="attr-translate">translate</code>
attribute is in the <i>inherit</i> state; in that case, the
element's <span>translation mode</span> is in the same state as its
parent element, if any, or in the <span>translate-enabled</span>
state, if the element is a <span>root element</span>.</p>

<p>When an element is in the <dfn>translate-enabled</dfn> state, the
element's attribute values and the values of its <code>Text</code>
Expand Down Expand Up @@ -82668,13 +82674,26 @@ interface <dfn>NavigatorStorageUtils</dfn> {
<p>All <span>HTML elements</span> may have the <code
title="attr-hidden">hidden</code> content attribute set. The <code
title="attr-hidden">hidden</code> attribute is a <span>boolean
attribute</span>. When specified on an element, it indicates that
the element is not yet, or is no longer, directly relevant to the
page's current state, or that it is being used to declare content to
be reused by other parts of the page as opposed to being directly
accessed by the user. <span class="impl">User agents should not
render elements that have the <code
title="attr-hidden">hidden</code> attribute specified.</span></p>
attribute</span>.

<!--END w3c-html--><!--HIDDENARIA--><!--FORK-->

When specified on an element, it indicates that the element is not
yet, or is no longer, directly relevant to the page's current state,
or that it is being used to declare content to be reused by other
parts of the page as opposed to being directly accessed by the user.

<!--START w3c-html--><!--END complete-->

When specified on an element, it indicates that the element is not
yet, or is no longer, relevant.

<!--START complete-->

<span class="impl">User agents should not render elements that have
the <code title="attr-hidden">hidden</code> attribute
specified.</span></p>


<div class="example">

Expand Down Expand Up @@ -82717,6 +82736,8 @@ interface <dfn>NavigatorStorageUtils</dfn> {
<!-- for example, "<a hidden href=#content>Skip to content</a>" would be inappropriate. -->
<!-- (but only add that example if you first add some more good valid examples -->

<!--END w3c-html--><!--HIDDENARIA--><!--FORK-->

<p>Elements that are not themselves <code
title="attr-hidden">hidden</code> must not <span>hyperlink</span> to
elements that are <code title="attr-hidden">hidden</code>. The <code
Expand All @@ -82729,6 +82750,14 @@ interface <dfn>NavigatorStorageUtils</dfn> {
<p>Elements and scripts may, however, refer to elements that are
<code title="attr-hidden">hidden</code> in other contexts.</p>

<!--START w3c-html--><!--END complete-->

<p>Elements that are not <code title="attr-hidden">hidden</code>
should not link to or refer to elements that are <code
title="attr-hidden">hidden</code>.</p>

<!--START complete-->

<div class="example">

<p>For example, it would be incorrect to use the <code
Expand All @@ -82737,6 +82766,8 @@ interface <dfn>NavigatorStorageUtils</dfn> {
attribute. If the content is not applicable or relevant, then there
is no reason to link to it.</p>

<!--END w3c-html--><!--HIDDENARIA--><!--FORK-->

<p>It would be fine, however, to use the ARIA <code
title="attr-aria-describedby">aria-describedby</code> attribute to
refer to descriptions that are themselves <code
Expand All @@ -82751,6 +82782,18 @@ interface <dfn>NavigatorStorageUtils</dfn> {
control could refer to a hidden <code>form</code> element using its
<code title="attr-fae-form">form</code> attribute.</p>

<!--START w3c-html--><!--END complete-->

<p>It would similarly be incorrect to use the ARIA <code
title="attr-aria-describedby">aria-describedby</code> attribute to
refer to descriptions that are themselves <code
title="attr-hidden">hidden</code>. Hiding a section means that it
is not applicable or relevant to anyone at the current time, so
clearly it cannot be a valid description of content the user can
interact with.</p>

<!--START complete-->

</div>

<p>Elements in a section hidden by the <code
Expand Down

0 comments on commit 4777b47

Please sign in to comment.