[html5] r6097 - [e] (0) clarify what 'focus' means Fixing http://www.w3.org/Bugs/Public/show_bug [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu May 5 17:54:03 PDT 2011


Author: ianh
Date: 2011-05-05 17:54:02 -0700 (Thu, 05 May 2011)
New Revision: 6097

Modified:
   complete.html
   index
   source
Log:
[e] (0) clarify what 'focus' means
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12214

Modified: complete.html
===================================================================
--- complete.html	2011-05-06 00:49:43 UTC (rev 6096)
+++ complete.html	2011-05-06 00:54:02 UTC (rev 6097)
@@ -33786,10 +33786,13 @@
   <p>When a <code><a href=#the-canvas-element>canvas</a></code> element <a href=#represents>represents</a>
   <a href=#embedded-content>embedded content</a>, the user can still focus descendants
   of the <code><a href=#the-canvas-element>canvas</a></code> element (in the <a href=#fallback-content>fallback
-  content</a>). This allows authors to make an interactive canvas
-  keyboard-focusable: authors should have a one-to-one mapping of
+  content</a>). When an element is focused, it is the target of
+  keyboard interaction events (even though the element itself is not
+  visible). This allows authors to make an interactive canvas
+  keyboard-accessible: authors should have a one-to-one mapping of
   interactive regions to focusable elements in the <a href=#fallback-content>fallback
-  content</a>.</p>
+  content</a>. (Focus has no effect on mouse interaction
+  events.) <a href=#DOMEVENTS>[DOMEVENTS]</a></p>
 
   <p>The <code><a href=#the-canvas-element>canvas</a></code> element has two attributes to control the
   size of the coordinate space: <dfn id=attr-canvas-width title=attr-canvas-width><code>width</code></dfn> and <dfn id=attr-canvas-height title=attr-canvas-height><code>height</code></dfn>. These

Modified: index
===================================================================
--- index	2011-05-06 00:49:43 UTC (rev 6096)
+++ index	2011-05-06 00:54:02 UTC (rev 6097)
@@ -33814,10 +33814,13 @@
   <p>When a <code><a href=#the-canvas-element>canvas</a></code> element <a href=#represents>represents</a>
   <a href=#embedded-content>embedded content</a>, the user can still focus descendants
   of the <code><a href=#the-canvas-element>canvas</a></code> element (in the <a href=#fallback-content>fallback
-  content</a>). This allows authors to make an interactive canvas
-  keyboard-focusable: authors should have a one-to-one mapping of
+  content</a>). When an element is focused, it is the target of
+  keyboard interaction events (even though the element itself is not
+  visible). This allows authors to make an interactive canvas
+  keyboard-accessible: authors should have a one-to-one mapping of
   interactive regions to focusable elements in the <a href=#fallback-content>fallback
-  content</a>.</p>
+  content</a>. (Focus has no effect on mouse interaction
+  events.) <a href=#DOMEVENTS>[DOMEVENTS]</a></p>
 
   <p>The <code><a href=#the-canvas-element>canvas</a></code> element has two attributes to control the
   size of the coordinate space: <dfn id=attr-canvas-width title=attr-canvas-width><code>width</code></dfn> and <dfn id=attr-canvas-height title=attr-canvas-height><code>height</code></dfn>. These

Modified: source
===================================================================
--- source	2011-05-06 00:49:43 UTC (rev 6096)
+++ source	2011-05-06 00:54:02 UTC (rev 6097)
@@ -37254,10 +37254,13 @@
   <p>When a <code>canvas</code> element <span>represents</span>
   <span>embedded content</span>, the user can still focus descendants
   of the <code>canvas</code> element (in the <span>fallback
-  content</span>). This allows authors to make an interactive canvas
-  keyboard-focusable: authors should have a one-to-one mapping of
+  content</span>). When an element is focused, it is the target of
+  keyboard interaction events (even though the element itself is not
+  visible). This allows authors to make an interactive canvas
+  keyboard-accessible: authors should have a one-to-one mapping of
   interactive regions to focusable elements in the <span>fallback
-  content</span>.</p>
+  content</span>. (Focus has no effect on mouse interaction
+  events.) <a href="#DOMEVENTS">[DOMEVENTS]</a></p>
 
   <p>The <code>canvas</code> element has two attributes to control the
   size of the coordinate space: <dfn




More information about the Commit-Watchers mailing list