[html5] r3353 - [] (0) Define <label accesskey> and <legend accesskey> behaviours.
whatwg at whatwg.org
whatwg at whatwg.org
Wed Jul 1 21:45:15 PDT 2009
Author: ianh
Date: 2009-07-01 21:45:13 -0700 (Wed, 01 Jul 2009)
New Revision: 3353
Modified:
index
source
Log:
[] (0) Define <label accesskey> and <legend accesskey> behaviours.
Modified: index
===================================================================
--- index 2009-07-02 03:14:17 UTC (rev 3352)
+++ index 2009-07-02 04:45:13 UTC (rev 3353)
@@ -589,7 +589,9 @@
<li><a href=#using-the-command-element-to-define-a-command><span class=secno>4.11.6.5 </span>Using the <code>command</code> element to define
a command</a></li>
<li><a href=#using-the-bb-element-to-define-a-command><span class=secno>4.11.6.6 </span>Using the <code>bb</code> element to define a command</a></li>
- <li><a href=#using-the-accesskey-attribute-to-define-a-command><span class=secno>4.11.6.7 </span>Using the <code title=attr-accesskey>accesskey</code> attribute to define a command</a></ol></ol></li>
+ <li><a href=#using-the-accesskey-attribute-on-a-label-element-to-define-a-command><span class=secno>4.11.6.7 </span>Using the <code title=attr-accesskey>accesskey</code> attribute on a <code>label</code> element to define a command</a></li>
+ <li><a href=#using-the-accesskey-attribute-on-a-legend-element-to-define-a-command><span class=secno>4.11.6.8 </span>Using the <code title=attr-accesskey>accesskey</code> attribute on a <code>legend</code> element to define a command</a></li>
+ <li><a href=#using-the-accesskey-attribute-to-define-a-command-on-a-focusable-element><span class=secno>4.11.6.9 </span>Using the <code title=attr-accesskey>accesskey</code> attribute to define a command on a focusable element</a></ol></ol></li>
<li><a href=#miscellaneous-elements><span class=secno>4.12 </span>Miscellaneous elements</a>
<ol>
<li><a href=#the-legend-element><span class=secno>4.12.1 </span>The <code>legend</code> element</a></li>
@@ -40007,8 +40009,94 @@
state.</p>
- <h5 id=using-the-accesskey-attribute-to-define-a-command><span class=secno>4.11.6.7 </span><dfn title=accesskey-command>Using the <code title=attr-accesskey>accesskey</code> attribute to define a command</dfn></h5>
+ <h5 id=using-the-accesskey-attribute-on-a-label-element-to-define-a-command><span class=secno>4.11.6.7 </span><dfn title=label-command>Using the <code title=attr-accesskey>accesskey</code> attribute on a <code>label</code> element to define a command</dfn></h5>
+
+ <p>A <code><a href=#the-label-element>label</a></code> element that has an <a href=#assigned-access-key>assigned access
+ key</a> and a <a href=#labeled-control>labeled control</a> and whose
+ <a href=#labeled-control>labeled control</a> <a href=#concept-command title=concept-command>defines a
+ command</a>, itself <a href=#concept-command title=concept-command>defines a
+ command</a>.</p>
+
+ <p>The <a href=#command-facet-type title=command-facet-Type>Type</a> of the command
+ is "command".</p>
+
+ <p>The <a href=#command-facet-id title=command-facet-ID>ID</a> of the command is
+ the value of the <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute of the
+ element, if the attribute is present and not empty. Otherwise the
+ command is an <a href=#anonymous-command>anonymous command</a>.</p>
+
+ <p>The <a href=#command-facet-label title=command-facet-Label>Label</a> of the command
+ is the string given by the element's <code>textContent</code> DOM
+ attribute.</p>
+
+ <p>The <a href=#command-facet-hint title=command-facet-Hint>Hint</a> of the command
+ is the value of the <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute
+ of the element.</p>
+
+ <p>There is no <a href=#command-facet-icon title=command-facet-Icon>Icon</a> for the
+ command.</p>
+
+ <p>The <a href=#command-facet-accesskey title=command-facet-AccessKey>AccessKey</a> of the
+ command is the element's <a href=#assigned-access-key>assigned access key</a>.</p>
+
+ <p>The <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden State</a>,
+ <a href=#command-facet-disabledstate title=command-facet-DisabledState>Disabled State</a>, and
+ <a href=#command-facet-action title=command-facet-Action>Action</a> facets of the
+ command are the same as the respective facets of the element's
+ <a href=#labeled-control>labeled control</a>.</p>
+
+ <p>The <a href=#command-facet-checkedstate title=command-facet-CheckedState>Checked State</a>
+ of the command is always false. (The command is never checked.)</p>
+
+
+
+ <h5 id=using-the-accesskey-attribute-on-a-legend-element-to-define-a-command><span class=secno>4.11.6.8 </span><dfn title=legend-command>Using the <code title=attr-accesskey>accesskey</code> attribute on a <code>legend</code> element to define a command</dfn></h5>
+
+ <p>A <code><a href=#the-legend-element>legend</a></code> element that has an <a href=#assigned-access-key>assigned access
+ key</a> and is a child of a <code><a href=#the-fieldset-element>fieldset</a></code> element that
+ has a descendant that is not a descendant of the <code><a href=#the-legend-element>legend</a></code>
+ element and is neither a <code><a href=#the-label-element>label</a></code> element nor a
+ <code><a href=#the-legend-element>legend</a></code> element but that <a href=#concept-command title=concept-command>defines a command</a>, itself <a href=#concept-command title=concept-command>defines a command</a>.</p>
+
+ <p>The <a href=#command-facet-type title=command-facet-Type>Type</a> of the command
+ is "command".</p>
+
+ <p>The <a href=#command-facet-id title=command-facet-ID>ID</a> of the command is
+ the value of the <code title=attr-id><a href=#the-id-attribute>id</a></code> attribute of the
+ element, if the attribute is present and not empty. Otherwise the
+ command is an <a href=#anonymous-command>anonymous command</a>.</p>
+
+ <p>The <a href=#command-facet-label title=command-facet-Label>Label</a> of the command
+ is the string given by the element's <code>textContent</code> DOM
+ attribute.</p>
+
+ <p>The <a href=#command-facet-hint title=command-facet-Hint>Hint</a> of the command
+ is the value of the <code title=attr-title><a href=#the-title-attribute>title</a></code> attribute
+ of the element.</p>
+
+ <p>There is no <a href=#command-facet-icon title=command-facet-Icon>Icon</a> for the
+ command.</p>
+
+ <p>The <a href=#command-facet-accesskey title=command-facet-AccessKey>AccessKey</a> of the
+ command is the element's <a href=#assigned-access-key>assigned access key</a>.</p>
+
+ <p>The <a href=#command-facet-hiddenstate title=command-facet-HiddenState>Hidden State</a>,
+ <a href=#command-facet-disabledstate title=command-facet-DisabledState>Disabled State</a>, and
+ <a href=#command-facet-action title=command-facet-Action>Action</a> facets of the
+ command are the same as the respective facets of the first element
+ in <a href=#tree-order>tree order</a> that is a descendant of the parent of the
+ <code><a href=#the-legend-element>legend</a></code> element that <a href=#concept-command title=concept-command>defines a command</a> but is not a
+ descendant of the <code><a href=#the-legend-element>legend</a></code> element and is neither a
+ <code><a href=#the-label-element>label</a></code> nor a <code><a href=#the-legend-element>legend</a></code> element.</p>
+
+ <p>The <a href=#command-facet-checkedstate title=command-facet-CheckedState>Checked State</a>
+ of the command is always false. (The command is never checked.)</p>
+
+
+
+ <h5 id=using-the-accesskey-attribute-to-define-a-command-on-a-focusable-element><span class=secno>4.11.6.9 </span><dfn title=accesskey-command>Using the <code title=attr-accesskey>accesskey</code> attribute to define a command on a focusable element</dfn></h5>
+
<p>An element that is <a href=#focusable>focusable</a>, has an <a href=#assigned-access-key>assigned
access key</a>, and is neither an <code><a href=#the-a-element>a</a></code> element with an
<code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute, a
Modified: source
===================================================================
--- source 2009-07-02 03:14:17 UTC (rev 3352)
+++ source 2009-07-02 04:45:13 UTC (rev 3353)
@@ -44997,8 +44997,97 @@
state.</p>
- <h5><dfn title="accesskey-command">Using the <code title="attr-accesskey">accesskey</code> attribute to define a command</dfn></h5>
+ <h5><dfn title="label-command">Using the <code title="attr-accesskey">accesskey</code> attribute on a <code>label</code> element to define a command</dfn></h5>
+
+ <p>A <code>label</code> element that has an <span>assigned access
+ key</span> and a <span>labeled control</span> and whose
+ <span>labeled control</span> <span title="concept-command">defines a
+ command</span>, itself <span title="concept-command">defines a
+ command</span>.</p>
+
+ <p>The <span title="command-facet-Type">Type</span> of the command
+ is "command".</p>
+
+ <p>The <span title="command-facet-ID">ID</span> of the command is
+ the value of the <code title="attr-id">id</code> attribute of the
+ element, if the attribute is present and not empty. Otherwise the
+ command is an <span>anonymous command</span>.</p>
+
+ <p>The <span title="command-facet-Label">Label</span> of the command
+ is the string given by the element's <code>textContent</code> DOM
+ attribute.</p>
+
+ <p>The <span title="command-facet-Hint">Hint</span> of the command
+ is the value of the <code title="attr-title">title</code> attribute
+ of the element.</p>
+
+ <p>There is no <span title="command-facet-Icon">Icon</span> for the
+ command.</p>
+
+ <p>The <span title="command-facet-AccessKey">AccessKey</span> of the
+ command is the element's <span>assigned access key</span>.</p>
+
+ <p>The <span title="command-facet-HiddenState">Hidden State</span>,
+ <span title="command-facet-DisabledState">Disabled State</span>, and
+ <span title="command-facet-Action">Action</span> facets of the
+ command are the same as the respective facets of the element's
+ <span>labeled control</span>.</p>
+
+ <p>The <span title="command-facet-CheckedState">Checked State</span>
+ of the command is always false. (The command is never checked.)</p>
+
+
+
+ <h5><dfn title="legend-command">Using the <code title="attr-accesskey">accesskey</code> attribute on a <code>legend</code> element to define a command</dfn></h5>
+
+ <p>A <code>legend</code> element that has an <span>assigned access
+ key</span> and is a child of a <code>fieldset</code> element that
+ has a descendant that is not a descendant of the <code>legend</code>
+ element and is neither a <code>label</code> element nor a
+ <code>legend</code> element but that <span
+ title="concept-command">defines a command</span>, itself <span
+ title="concept-command">defines a command</span>.</p>
+
+ <p>The <span title="command-facet-Type">Type</span> of the command
+ is "command".</p>
+
+ <p>The <span title="command-facet-ID">ID</span> of the command is
+ the value of the <code title="attr-id">id</code> attribute of the
+ element, if the attribute is present and not empty. Otherwise the
+ command is an <span>anonymous command</span>.</p>
+
+ <p>The <span title="command-facet-Label">Label</span> of the command
+ is the string given by the element's <code>textContent</code> DOM
+ attribute.</p>
+
+ <p>The <span title="command-facet-Hint">Hint</span> of the command
+ is the value of the <code title="attr-title">title</code> attribute
+ of the element.</p>
+
+ <p>There is no <span title="command-facet-Icon">Icon</span> for the
+ command.</p>
+
+ <p>The <span title="command-facet-AccessKey">AccessKey</span> of the
+ command is the element's <span>assigned access key</span>.</p>
+
+ <p>The <span title="command-facet-HiddenState">Hidden State</span>,
+ <span title="command-facet-DisabledState">Disabled State</span>, and
+ <span title="command-facet-Action">Action</span> facets of the
+ command are the same as the respective facets of the first element
+ in <span>tree order</span> that is a descendant of the parent of the
+ <code>legend</code> element that <span
+ title="concept-command">defines a command</span> but is not a
+ descendant of the <code>legend</code> element and is neither a
+ <code>label</code> nor a <code>legend</code> element.</p>
+
+ <p>The <span title="command-facet-CheckedState">Checked State</span>
+ of the command is always false. (The command is never checked.)</p>
+
+
+
+ <h5><dfn title="accesskey-command">Using the <code title="attr-accesskey">accesskey</code> attribute to define a command on a focusable element</dfn></h5>
+
<p>An element that is <span>focusable</span>, has an <span>assigned
access key</span>, and is neither an <code>a</code> element with an
<code title="attr-hyperlink-href">href</code> attribute, a
More information about the Commit-Watchers
mailing list