<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>6439</bug_id>
          
          <creation_ts>2009-01-15 12:21:25 +0000</creation_ts>
          <short_desc>&lt;area&gt; should stringify href (like &lt;a&gt;)</short_desc>
          <delta_ts>2010-10-04 13:56:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Pieters">zcorpan</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>mike</cc>
    
    <cc>olivier.gendrin</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>23112</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2009-01-15 12:21:25 +0000</bug_when>
    <thetext>IE8, Firefox and Opera stringify &lt;area&gt; to its href (like &lt;a&gt;). WebKit doesn&apos;t, it seems. I&apos;d suggest the spec align with the majority.

javascript:alert(document.createElement(&apos;area&apos;))</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23117</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Gendrin">olivier.gendrin</who>
    <bug_when>2009-01-15 13:38:43 +0000</bug_when>
    <thetext>this question is very important regarding to accessibility of the data.

I good fallback could be to spec that a &lt;map&gt; element that does not match an &lt;img&gt; (not aviable, not downloaded by the UA, etc...) should be rendered as an &lt;ul&gt;, and the &lt;area&gt; like &lt;li&gt;&lt;a&gt; :

&lt;map&gt;&lt;area alt=&quot;areaAltText&quot; href=&quot;areaHref&quot; /&gt;&lt;/map&gt;

would become

&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;areaHref&quot;&gt;areaAltText&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

That would be great.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24450</commentid>
    <comment_count>2</comment_count>
    <who name="Olivier Gendrin">olivier.gendrin</who>
    <bug_when>2009-03-31 10:57:53 +0000</bug_when>
    <thetext>Ian, I do not see in the area description [1] the fallback mechanism...

[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#the-area-element</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24452</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2009-03-31 12:22:45 +0000</bug_when>
    <thetext>Oliver, this bug really has nothing to do with fallback. This bug is about what toString() does on objects implementing HTMLAreaElement.

However, search for &quot;If the user agent intends to show the text that the img element represents, then it must use the following steps.&quot; in the spec.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>