<?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>9280</bug_id>
          
          <creation_ts>2010-03-19 12:10:18 +0000</creation_ts>
          <short_desc>forms: Add default button option/attribute for forms</short_desc>
          <delta_ts>2017-07-21 10:32:52 +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>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>https://www.w3.org/Bugs/Public/show_bug.cgi?id=19046</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y</keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Needs Impl Interest</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Avila">jon.avila</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>bugs</cc>
    
    <cc>contributor</cc>
    
    <cc>cooper</cc>
    
    <cc>ian</cc>
    
    <cc>laura.lee.carlson</cc>
    
    <cc>mike</cc>
    
    <cc>paulkinlan</cc>
    
    <cc>public-html-a11y</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</cc>
    
    <cc>slave.loren</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>33711</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Avila">jon.avila</who>
    <bug_when>2010-03-19 12:10:18 +0000</bug_when>
    <thetext>Please consider adding a default button option/attribute for forms.  I believe this would simplify a lot of form interaction for users of assistive technology and users who rely off of the keyboard alone.  Currently different browsers
handle this differently and there is no specific method for assigning which button will be activated when enter is pressed in a form field other than a button that works across browsers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34347</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-04-01 22:24:03 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: The spec defines how default buttons are to be selected:

   http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#default-button

I agree that we should probably make it possible to explicitly pick a button as the default. However, we&apos;ve already added quite a lot to the forms part of the spec and not all of it has been widely implemented yet, so I&apos;d rather we wait some more before adding such a feature.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38332</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Cooper">cooper</who>
    <bug_when>2010-08-31 14:06:11 +0000</bug_when>
    <thetext>http://lists.w3.org/Archives/Public/public-html-a11y/2010Aug/0124.html

The bug triage sub-team believes the HTML A11Y TF should take up this bug. Additional notes may follow in a separate comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38396</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Cooper">cooper</who>
    <bug_when>2010-09-02 13:15:05 +0000</bug_when>
    <thetext>Bug triage sub-team says declarable default submit button would be a good a11y enhancement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54965</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2011-08-14 09:59:35 +0000</bug_when>
    <thetext>*** Bug 13320 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82038</commentid>
    <comment_count>5</comment_count>
    <who name="">public-rdfa-wg</who>
    <bug_when>2013-01-24 06:53:12 +0000</bug_when>
    <thetext>This bug was cloned to create HTML WG bug 19046.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84582</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-03-18 22:36:59 +0000</bug_when>
    <thetext>Are any browsers interested in implementing a &quot;this is the default submission button&quot; attribute for web forms, or is the current model (&quot;first&quot;) sufficient for most purposes?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123226</commentid>
    <comment_count>7</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-09-16 11:40:13 +0000</bug_when>
    <thetext>Olli, Paul, any interest in this or knowing who we should ask?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123230</commentid>
    <comment_count>8</comment_count>
    <who name="Olli Pettay">bugs</who>
    <bug_when>2015-09-16 18:00:53 +0000</bug_when>
    <thetext>I don&apos;t have strong opinions on this. &quot;first&quot; kind of makes sense to me, so I&apos;d like to understand why we&apos;d need this complication.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123239</commentid>
    <comment_count>9</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-09-17 09:19:20 +0000</bug_when>
    <thetext>Olli, I think the reason is that it&apos;s still left up to the underlying platform which button is the default. &quot;First&quot; is just strongly suggested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128741</commentid>
    <comment_count>10</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2017-07-21 10:32:52 +0000</bug_when>
    <thetext>Please file a new issue at https://github.com/whatwg/html/issues/new if there&apos;s still interest.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>