<?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>27787</bug_id>
          
          <creation_ts>2015-01-08 18:27:03 +0000</creation_ts>
          <short_desc>Sequential Navigation Focus Order for Image Maps</short_desc>
          <delta_ts>2016-04-28 15:58:01 +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>HTML a11y Task Force</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y_focus</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rodney Rehm">mail</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>chaals</cc>
    
    <cc>lwatson</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-a11y</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>redux</cc>
          
          <qa_contact name="This bug has no owner yet - up for the taking">dave.null</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>116923</commentid>
    <comment_count>0</comment_count>
    <who name="Rodney Rehm">mail</who>
    <bug_when>2015-01-08 18:27:03 +0000</bug_when>
    <thetext>&quot;User agents may also allow individual area elements representing hyperlinks to be selected and activated (e.g. using a keyboard).&quot;

Every major user agent (Gecko, Trident, WebKit, Blink) adds &lt;area&gt; elements to the document&apos;s sequential navigation focus order. But because the specification does not explain *how* that should happen, they disagree on the order.

In Blink and WebKit the &lt;area&gt; elements are added to the sequence in DOM order. In Gecko and Trident &lt;area&gt; themselves are inserted into the sequence in place of the &lt;img usemap=&quot;&quot;&gt; actually using the map containing the &lt;area&gt; elements.

So in Blink and WebKit the image maps are accessible, just not in place of the image, but wherever they appear in the document. The &lt;map&gt; element might be placed right after &lt;body&gt;, but the &lt;img usemap&gt; may be used in a modal &lt;dialog&gt; element. There is no way to Tab through the image&apos;s map. (using the &lt;dialog&gt; here is just an extreme example to make a point.)


&quot;Because a map element (and its area elements) can be associated with multiple img and object elements, it is possible for an area element to correspond to multiple focusable areas of the document.&quot;

In Trident those multiple references to the same map cause the the associated &lt;area&gt; elements to occur multiple times in the document&apos;s sequential navigation focus order. In Gecko this should happen, but is masked by a bug. In Blink and WebKit the &lt;area&gt; elements are only tabbed through once.


Can we get the Trident behavior added to the specification?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116956</commentid>
    <comment_count>1</comment_count>
    <who name="Charles McCathieNevile">chaals</who>
    <bug_when>2015-01-09 11:30:58 +0000</bug_when>
    <thetext>Will run this past the accessibility task force, but it seems to make sense that the relationship between a label and a form control is roughly the same as an image and an image map, with the proviso that area elements are not rendered by default - so as if a label applied to a form button that was not, itself, going to be rendered…</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126268</commentid>
    <comment_count>2</comment_count>
    <who name="Léonie Watson">lwatson</who>
    <bug_when>2016-04-28 15:58:01 +0000</bug_when>
    <thetext>Moved to HTML on Github:
https://github.com/w3c/html/issues/297</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>