NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 269 - Define <area alt> authoring conformance criteria.
Define <area alt> authoring conformance criteria.
Status: NEW
Product: Validator.nu
Classification: Unclassified
Component: Non-schema checkers
HEAD
All All
: P2 normal
Assigned To: Nobody
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-28 13:25 CEST by Henri Sivonen
Modified: 2009-11-23 17:16 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2008-07-28 13:25:00 CEST
Index: source
===================================================================
--- source	(revision 1931)
+++ source	(revision 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>