spec/Overview.html 1.1709 2538 Make focused elements fire onclick='' wh

Make focused elements fire onclick='' when the user activates them with
the keyboard. (whatwg r2538)

focusable
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1709.html#focusable
tabIndex
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1709.html#dom-tabindex

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1708&r2=1.1709&f=h
http://html5.org/tools/web-apps-tracker?from=2537&to=2538

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1708
retrieving revision 1.1709
diff -u -d -r1.1708 -r1.1709
--- Overview.html 16 Dec 2008 23:29:13 -0000 1.1708
+++ Overview.html 16 Dec 2008 23:43:44 -0000 1.1709
@@ -32761,7 +32761,13 @@
   </dl><p>An element is <dfn id=focusable>focusable</dfn> if the <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute's definition above
   defines the element to be focusable <em>and</em> the element is
   <span>being rendered</span><!-- XXX xref, define display:none as not
-  being rendered, off-screen as being rendered? -->.<p>The <dfn id=dom-tabindex title=dom-tabIndex><code>tabIndex</code></dfn> DOM
+  being rendered, off-screen as being rendered? -->.<p>An element that is <a href=#focusable>focusable</a> but does not otherwise
+  have an <a href=#activation-behavior>activation behavior</a> defined has an
+  <a href=#activation-behavior>activation behavior</a> that does nothing.<p class=note>This means that an element that is only focusable
+  because of its <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> attribute
+  will fire a <code title=event-click>click</code> event in response
+  to a non-mouse activation (e.g. hitting the "enter" key while the
+  element is focused).<p>The <dfn id=dom-tabindex title=dom-tabIndex><code>tabIndex</code></dfn> DOM
   attribute must <a href=#reflect>reflect</a> the value of the <code title=attr-tabindex><a href=#attr-tabindex>tabindex</a></code> content attribute. If the
   attribute is not present, or parsing its value returns an error,
   then the DOM attribute must return 0 for elements that are focusable

Received on Tuesday, 16 December 2008 23:47:07 UTC