hixie: Make accesskey='' activate/click elements, not just focus them. This includes a horrific paragraph of confusingness. Let me know if you can find a clear way to rephrase it. (whatwg r3489)

hixie: Make accesskey='' activate/click elements, not just focus them.
This includes a horrific paragraph of confusingness. Let me know if you
can find a clear way to rephrase it. (whatwg r3489)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2687&r2=1.2688&f=h
http://html5.org/tools/web-apps-tracker?from=3488&to=3489

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2687
retrieving revision 1.2688
diff -u -d -r1.2687 -r1.2688
--- Overview.html 29 Jul 2009 00:11:22 -0000 1.2687
+++ Overview.html 29 Jul 2009 00:27:06 -0000 1.2688
@@ -733,7 +733,7 @@
        <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-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="#using-the-accesskey-attribute-to-define-a-command-on-other-elements"><span class="secno">4.11.6.9 </span>Using the <code title="attr-accesskey">accesskey</code> attribute to define a command on other elements</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>
@@ -36261,18 +36261,14 @@
 
 
 
-  <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>
+  <h5 id="using-the-accesskey-attribute-to-define-a-command-on-other-elements"><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 other elements</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
-  <code><a href="#the-button-element">button</a></code> element, an <code><a href="#the-input-element">input</a></code> element whose
-  attribute is in one of the <a href="#submit-button-state" title="attr-input-type-submit">Submit Button</a>, <a href="#reset-button-state" title="attr-input-type-reset">Reset Button</a>, <a href="#button-state" title="attr-input-type-button">Button</a>, <a href="#radio-button-state" title="attr-input-type-radio">Radio Button</a>, or <a href="#checkbox-state" title="attr-input-type-checkbox">Checkbox</a> states, an
-  <code><a href="#the-option-element">option</a></code> element with an ancestor <code><a href="#the-select-element">select</a></code>
-  element and either no <code title="attr-option-value"><a href="#attr-option-value">value</a></code>
-  attribute or a <code title="attr-option-value"><a href="#attr-option-value">value</a></code>
-  attribute that is not the empty string, a <code><a href="#the-command">command</a></code>
-  element, nor a <code><a href="#the-bb-element">bb</a></code> element, <a href="#concept-command" title="concept-command">defines a command</a>.</p>
+  <p>An element that has an <a href="#assigned-access-key">assigned access key</a> <a href="#concept-command" title="concept-command">defines a command</a>.</p>
+
+  <p>If one of the other sections that define elements that <a href="#concept-command" title="concept-command">define commands</a> define that this
+  element <a href="#concept-command" title="concept-command">defines a command</a>, then
+  that section applies to this element, and this section does
+  not. Otherwise, this section applies to that element.</p>
 
   <p>The <a href="#command-facet-type" title="command-facet-Type">Type</a> of the command
   is "command".</p>
@@ -36313,8 +36309,15 @@
   of the command is always false. (The command is never checked.)</p>
 
   <p>The <a href="#command-facet-action" title="command-facet-Action">Action</a> of the
-  command is to run the <a href="#focusing-steps">focusing steps</a> for the
-  element.</p>
+  command, if the element has a defined <a href="#activation-behavior">activation
+  behavior</a>, is to <a href="#run-synthetic-click-activation-steps">run synthetic click activation
+  steps</a> on the element. Otherwise, if the element is
+  <a href="#focusable">focusable</a>, the <a href="#command-facet-action" title="command-facet-Action">Action</a> of the command is to run
+  the <a href="#focusing-steps">focusing steps</a> for the element and then to
+  <a href="#fire-a-click-event">fire a <code title="event-click">click</code> event</a> at
+  the element. Otherwise, <a href="#command-facet-action" title="command-facet-Action">Action</a> of the command is just to
+  <a href="#fire-a-click-event">fire a <code title="event-click">click</code> event</a> at
+  the element.</p>
 
   </div><h3 id="miscellaneous-elements"><span class="secno">4.12 </span>Miscellaneous elements</h3><h4 id="the-legend-element"><span class="secno">4.12.1 </span>The <dfn><code>legend</code></dfn> element</h4><dl class="element"><dt>Categories</dt>
    <dd>None.</dd>

Received on Wednesday, 29 July 2009 00:28:08 UTC