[html5] r3887 - [] (0) Define <area> focusability.

whatwg at whatwg.org whatwg at whatwg.org
Thu Sep 17 22:06:17 PDT 2009


Author: ianh
Date: 2009-09-17 22:06:16 -0700 (Thu, 17 Sep 2009)
New Revision: 3887

Modified:
   index
   source
Log:
[] (0) Define <area> focusability.

Modified: index
===================================================================
--- index	2009-09-18 04:53:29 UTC (rev 3886)
+++ index	2009-09-18 05:06:16 UTC (rev 3887)
@@ -14155,10 +14155,7 @@
   </div>
 
 
-  <!-- XXX i should add a usage summary here -->
 
-
-
   <h3 id=grouping-content><span class=secno>4.5 </span>Grouping content</h3>
 
   <h4 id=the-p-element><span class=secno>4.5.1 </span>The <dfn><code>p</code></dfn> element</h4>
@@ -56551,10 +56548,6 @@
 
   <ul><li><code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
 
-   <li class=XXX><code><a href=#the-area-element>area</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li> <!-- should
-   define the behavior in the face of multiple images and in the face
-   of no images -->
-
    <li><code><a href=#the-link-element>link</a></code> elements that have an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute</li>
 
    <li><code><a href=#the-button-element>button</a></code> elements that are not <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a></li>
@@ -56574,7 +56567,13 @@
    user to begin a drag operations for those elements without the use
    of a pointing device</li>
 
-  </ul><p>The <dfn id=dom-tabindex title=dom-tabIndex><code>tabIndex</code></dfn> IDL
+  </ul><p>In addition, each shape that is generated for an
+  <code><a href=#the-area-element>area</a></code> element should be <a href=#focusable>focusable</a>, unless
+  platform conventions dictate otherwise. (A single <code><a href=#the-area-element>area</a></code>
+  element can correspond to multiple shapes, since image maps can be
+  reused with multiple images on a page.)</p>
+
+  <p>The <dfn id=dom-tabindex title=dom-tabIndex><code>tabIndex</code></dfn> IDL
   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 IDL attribute must return 0 for elements that are focusable

Modified: source
===================================================================
--- source	2009-09-18 04:53:29 UTC (rev 3886)
+++ source	2009-09-18 05:06:16 UTC (rev 3887)
@@ -15061,10 +15061,7 @@
   </div>
 
 
-  <!-- XXX i should add a usage summary here -->
 
-
-
   <h3>Grouping content</h3>
 
   <h4>The <dfn><code>p</code></dfn> element</h4>
@@ -65912,11 +65909,6 @@
    <li><code>a</code> elements that have an <code
    title="attr-hyperlink-href">href</code> attribute</li>
 
-   <li class="XXX"><code>area</code> elements that have an <code
-   title="attr-hyperlink-href">href</code> attribute</li> <!-- should
-   define the behavior in the face of multiple images and in the face
-   of no images -->
-
    <li><code>link</code> elements that have an <code
    title="attr-link-href">href</code> attribute</li>
 
@@ -65944,6 +65936,12 @@
 
   </ul>
 
+  <p>In addition, each shape that is generated for an
+  <code>area</code> element should be <span>focusable</span>, unless
+  platform conventions dictate otherwise. (A single <code>area</code>
+  element can correspond to multiple shapes, since image maps can be
+  reused with multiple images on a page.)</p>
+
   <p>The <dfn title="dom-tabIndex"><code>tabIndex</code></dfn> IDL
   attribute must <span>reflect</span> the value of the <code
   title="attr-tabindex">tabindex</code> content attribute. If the




More information about the Commit-Watchers mailing list