[html5] r1932 - [ac] (0) Define <area alt> authoring conformance criteria.

whatwg at whatwg.org whatwg at whatwg.org
Thu Jul 24 01:53:03 PDT 2008


Author: ianh
Date: 2008-07-24 01:53:02 -0700 (Thu, 24 Jul 2008)
New Revision: 1932

Modified:
   index
   source
Log:
[ac] (0) Define <area alt> authoring conformance criteria.

Modified: index
===================================================================
--- index	2008-07-24 08:11:16 UTC (rev 1931)
+++ index	2008-07-24 08:53:02 UTC (rev 1932)
@@ -22803,15 +22803,25 @@
   <p>If the <code><a href="#area">area</a></code> element has an <code
    title=attr-hyperlink-href><a href="#href6">href</a></code> attribute, then
    the <code><a href="#area">area</a></code> element represents a <a
-   href="#hyperlinks">hyperlink</a>; the <dfn id=alt1
-   title=attr-area-alt><code>alt</code></dfn> attribute, which must then be
-   present, specifies the text.
+   href="#hyperlinks">hyperlink</a>. In this case, the <dfn id=alt1
+   title=attr-area-alt><code>alt</code></dfn> attribute must be present. It
+   specifies the text of the hyperlink. Its value must be text that, when
+   presented with the texts specified for the other hyperlinks of the <a
+   href="#image2">image map</a>, and with the alternative text of the image,
+   but without the image itself, provides the user with the same kind of
+   choice as the hyperlink would when used without its text but with its
+   shape applied to the image. The <code title=attr-area-alt><a
+   href="#alt1">alt</a></code> attribute may be left blank if there is
+   another <code>area<code> element in the same <a href="#image2">image
+   map</a> that points to the same resource and has a non-blank <code
+   title=attr-area-alt><a href="#alt1">alt</a></code>
+   attribute.</code></code>
 
-  <p>However, if the <code><a href="#area">area</a></code> element has no
-   <code title=attr-hyperlink-href><a href="#href6">href</a></code>
-   attribute, then the area represented by the element cannot be selected,
-   and the <code title=attr-area-alt><a href="#alt1">alt</a></code> attribute
-   must be omitted.
+  <p>If the <code><a href="#area">area</a></code> element has no <code
+   title=attr-hyperlink-href><a href="#href6">href</a></code> attribute, then
+   the area represented by the element cannot be selected, and the <code
+   title=attr-area-alt><a href="#alt1">alt</a></code> attribute must be
+   omitted.
 
   <p>In both cases, the <code title=attr-area-shape><a
    href="#shape">shape</a></code> and <code title=attr-area-coords><a

Modified: source
===================================================================
--- source	2008-07-24 08:11:16 UTC (rev 1931)
+++ source	2008-07-24 08:53:02 UTC (rev 1932)
@@ -20115,11 +20115,21 @@
 
   <p>If the <code>area</code> element has an <code
   title="attr-hyperlink-href">href</code> attribute, then the
-  <code>area</code> element represents a <span>hyperlink</span>; the
-  <dfn title="attr-area-alt"><code>alt</code></dfn> attribute, which
-  must then be present, specifies the text.</p>
+  <code>area</code> element represents a <span>hyperlink</span>. In
+  this case, the <dfn title="attr-area-alt"><code>alt</code></dfn>
+  attribute must be present. It specifies the text of the
+  hyperlink. Its value must be text that, when presented with the
+  texts specified for the other hyperlinks of the <span>image
+  map</span>, and with the alternative text of the image, but without
+  the image itself, provides the user with the same kind of choice as
+  the hyperlink would when used without its text but with its shape
+  applied to the image. The <code title="attr-area-alt">alt</code>
+  attribute may be left blank if there is another <code>area<code>
+  element in the same <span>image map</span> that points to the same
+  resource and has a non-blank <code title="attr-area-alt">alt</code>
+  attribute.</p>
 
-  <p>However, if the <code>area</code> element has no <code
+  <p>If the <code>area</code> element has no <code
   title="attr-hyperlink-href">href</code> attribute, then the area
   represented by the element cannot be selected, and the <code
   title="attr-area-alt">alt</code> attribute must be omitted.</p>




More information about the Commit-Watchers mailing list