<?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>18058</bug_id>
          
          <creation_ts>2012-07-18 16:18:26 +0000</creation_ts>
          <short_desc>Please provide example for required attribute with radiobutton group. Since that differs from other implementations.</short_desc>
          <delta_ts>2013-07-03 07:15:15 +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>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-required-attribute</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>CR</keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="steve faulkner">faulkner.steve</assigned_to>
          <cc>faulkner.steve</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>robin</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>70584</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-07-18 16:18:26 +0000</bug_when>
    <thetext>This was was cloned from bug 16029 as part of operation convergence.
Originally filed: 2012-02-19 15:42:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2012-02-19 15:42:03 +0000 
--------------------------------------------------------------------------------
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html
Multipage: http://www.whatwg.org/C#the-required-attribute
Complete: http://www.whatwg.org/c#the-required-attribute

Comment:
Please provide example for required attribute with radiobutton group. Since
that differs from other implementations.

Posted from: 88.241.251.7
User agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
================================================================================
 #1   Michael Cooper                                  2012-02-21 17:06:51 +0000 
--------------------------------------------------------------------------------
HTML Accessibility Task Force bug triage sub-team created bug 16061 that blocks this. This bug requests an example of required radio button groups. 16061 requests the feature to enable that, via @required on fieldset. Once that feature is created, the block this bug can be removed and hopefully the example created.
================================================================================</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85653</commentid>
    <comment_count>1</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2013-04-06 15:01:43 +0000</bug_when>
    <thetext>kinking this one over to hixie, appears the original bug was resolved wontfix but does not appear to be any reason.

From testing in firefox it appears that if one input[radio] in a radio group has a required all the inputs[radio] in the group become required, which does seem like the correct behaviour.

Cannot find anywhere where this is specified, if I am not missing anything appears like an omission.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86169</commentid>
    <comment_count>2</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2013-04-14 07:32:01 +0000</bug_when>
    <thetext>works for hixie, but I consider the reporters request to add an example is reasonable and useful as it improves understanding for authors. so I will add an example to the HTML spec</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90040</commentid>
    <comment_count>3</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2013-06-30 10:52:41 +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: Accepted
Change Description: added example of use of required attribute one radio button in a group
https://github.com/w3c/html/commit/6a04ea28f0988bc0247990c134460a0751378dbf
Rationale: agreed that it it would help to provide an example  Since
it differs from other implementations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90068</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-07-01 17:00:42 +0000</bug_when>
    <thetext>For the record, it was marked WORKSFORME because there&apos;s already such examples in the spec. Adding redundant examples just makes the spec longer and harder to read (since readers try to figure out what&apos;s special about the redundant examples).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90080</commentid>
    <comment_count>5</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2013-07-01 19:51:00 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; For the record, it was marked WORKSFORME because there&apos;s already such
&gt; examples in the spec. Adding redundant examples just makes the spec longer
&gt; and harder to read (since readers try to figure out what&apos;s special about the
&gt; redundant examples).

If you are claiming the example is redundant, why not provide a pointer to the example that the one added duplicates?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90082</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-07-01 19:57:17 +0000</bug_when>
    <thetext>There&apos;s one in the &quot;Client-side form validation&quot; section, for instance. The first place that talks about required=&quot;&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90086</commentid>
    <comment_count>7</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2013-07-01 21:31:33 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; There&apos;s one in the &quot;Client-side form validation&quot; section, for instance. The
&gt; first place that talks about required=&quot;&quot;.

Oh it thought you meant there was an example of what the commenter was asking for, which that example does not provide. I saw that  example when i checked originally but as it clearly dos not what the added example shows, there is no redundancy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90200</commentid>
    <comment_count>8</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-07-03 00:04:14 +0000</bug_when>
    <thetext>&quot;Please provide example for required attribute with radiobutton group. Since
that differs from other implementations.&quot;

The example in question does exactly that? What am I missing?

The only thing your example does that&apos;s different is that it has the confusing markup where you only include the required=&quot;&quot; attribute on one of the controls, but that&apos;s bad style that shouldn&apos;t be encouraged.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90215</commentid>
    <comment_count>9</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2013-07-03 07:15:15 +0000</bug_when>
    <thetext>(In reply to comment #8)
&gt; but that&apos;s bad style that shouldn&apos;t be encouraged

missed your proclamation that adding redundant attributes is good practice</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>