<?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>29093</bug_id>
          
          <creation_ts>2015-08-27 16:27:26 +0000</creation_ts>
          <short_desc>Elements that are focusable but not in the tab order should probably not have tabindex by default 0</short_desc>
          <delta_ts>2018-02-04 09:22:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#dom-tabindex</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>bzbarsky</cc>
    
    <cc>d</cc>
    
    <cc>denilsonsa</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>122795</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2015-08-27 16:27:26 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/multipage/interaction.html
Multipage: https://html.spec.whatwg.org/multipage/#dom-tabindex
Complete: https://html.spec.whatwg.org/#dom-tabindex
Referrer: 

Comment:
Elements that are focusable but not in the tab order should probably not have
tabindex by default 0

Posted from: 98.110.194.132
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:42.0) Gecko/20100101 Firefox/42.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122796</commentid>
    <comment_count>1</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2015-08-27 16:28:07 +0000</bug_when>
    <thetext>In particular, on Mac a bunch of form controls are focusable (in that you can click on them and they get focus) but can&apos;t be tabbed to by default.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125618</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-03-24 17:49:24 +0000</bug_when>
    <thetext>The specification already allows for this right by defaulting according to platform conventions?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125619</commentid>
    <comment_count>3</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2016-03-24 17:51:53 +0000</bug_when>
    <thetext>I don&apos;t think so. The spec pretty clearly states

&gt; The tabIndex IDL attribute must reflect the value of the tabindex content attribute. Its default value is 0 for elements that are focusable and −1 for elements that are not focusable.

Boris is, I believe, asking that elements that are focusable but not in the tab order should have -1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125621</commentid>
    <comment_count>4</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2016-03-24 17:57:22 +0000</bug_when>
    <thetext>That&apos;s correct.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125622</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-03-24 18:29:18 +0000</bug_when>
    <thetext>I see, thank you. https://github.com/whatwg/html/pull/938 should fix this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129073</commentid>
    <comment_count>6</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2018-02-04 09:22:01 +0000</bug_when>
    <thetext>This is now https://github.com/whatwg/html/issues/1786.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>