Define <label accesskey> and <legend accesskey> behaviours. (whatwg r3353)

Define <label accesskey> and <legend accesskey> behaviours. (whatwg
r3353)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2490&r2=1.2491&f=h
http://html5.org/tools/web-apps-tracker?from=3352&to=3353

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2490
retrieving revision 1.2491
diff -u -d -r1.2490 -r1.2491
--- Overview.html 2 Jul 2009 03:14:23 -0000 1.2490
+++ Overview.html 2 Jul 2009 04:45:30 -0000 1.2491
@@ -725,7 +725,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>
@@ -35661,7 +35663,93 @@
   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

Received on Thursday, 2 July 2009 04:47:01 UTC