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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>47170</bug_id>
          
          <creation_ts>2010-10-05 05:39:24 -0700</creation_ts>
          <short_desc>Spatial Navigation: Focus selection when nothing is focused is wrong.</short_desc>
          <delta_ts>2010-11-11 09:22:55 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Accessibility</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>49382</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>46905</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Yael">yael</reporter>
          <assigned_to name="Yael">yael</assigned_to>
          <cc>ademar</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>tonikitoo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>289545</commentid>
    <comment_count>0</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2010-10-05 05:39:24 -0700</bug_when>
    <thetext>When using Spatial Navigation, tab index order should be ignored.
This problem is mostly visible when there is no focused node, e.g. after page load. The algorithm finds the node with the lowest tab index, instead of the first focusable node.

Here is an example:
    &lt;a href=&quot;#&quot;&gt;I am a&lt;/a&gt;&lt;br&gt;
    &lt;div tabindex=3&gt;I have tab index&lt;/div&gt;
    &lt;div tabindex=2&gt;I have tab index&lt;/div&gt;
    &lt;div tabindex=1&gt;I have tab index&lt;/div&gt;
    &lt;div tabindex=4&gt;I have tab index&lt;/div&gt;
 
I tested with Opera, and Opera finds the first &lt;a&gt; element, but WebKit finds the div with tab index 1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>291078</commentid>
    <comment_count>1</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2010-10-07 10:01:00 -0700</bug_when>
    <thetext>Title changed because fixing the issue is more than ignoring the &quot;index&quot; in tab-index.
A patch is coming soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>307918</commentid>
    <comment_count>2</comment_count>
    <who name="Yael">yael</who>
    <bug_when>2010-11-11 07:53:11 -0800</bug_when>
    <thetext>This issue is addressed in the patch in https://bugs.webkit.org/show_bug.cgi?id=49382

*** This bug has been marked as a duplicate of bug 49382 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>307960</commentid>
    <comment_count>3</comment_count>
    <who name="Ademar Reis">ademar</who>
    <bug_when>2010-11-11 09:22:55 -0800</bug_when>
    <thetext>RESOLVED/DUPLICATED ==&gt; no need to block bug 39121 anymore.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>