<?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>10479</bug_id>
          
          <creation_ts>2010-08-28 13:01:19 +0000</creation_ts>
          <short_desc>add role=radiogroup to details element</short_desc>
          <delta_ts>2010-12-15 14:37:13 +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>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y</keywords>
          <priority>P1</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>10066</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="steve faulkner">faulkner.steve</reporter>
          <assigned_to name="steve faulkner">faulkner.steve</assigned_to>
          <cc>annevk</cc>
    
    <cc>ian</cc>
    
    <cc>jackalmage</cc>
    
    <cc>laura.lee.carlson</cc>
    
    <cc>mike</cc>
    
    <cc>mjs</cc>
    
    <cc>public-html-a11y</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</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>38108</commentid>
    <comment_count>0</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2010-08-28 13:01:19 +0000</bug_when>
    <thetext>Currently the details element	has a default ARIA role =group and overrides allowed: Role must be either form, group, navigation, note, or search

consider also allowing role=radiogroup</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38359</commentid>
    <comment_count>1</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2010-09-01 00:12:12 +0000</bug_when>
    <thetext>The &apos;radiogroup&apos; role is nonsensical for a &lt;details&gt; element.  The &lt;details&gt; element can&apos;t represent &quot;a type of select list that can only have a single entry checked at any one time&quot; without serious hackery.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38360</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-01 00:14:40 +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: see comment 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38362</commentid>
    <comment_count>3</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2010-09-01 06:42:16 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; The &apos;radiogroup&apos; role is nonsensical for a &lt;details&gt; element.  The &lt;details&gt;
&gt; element can&apos;t represent &quot;a type of select list that can only have a single
&gt; entry checked at any one time&quot; without serious hackery.

where is the serious hackery here:

&lt;details&gt;
&lt;summary&gt; choose one&lt;/summary&gt;
&lt;input type=&quot;radio&quot;&gt;choice 1
&lt;input type=&quot;radio&quot;&gt; choice 2
&lt;input type=&quot;radio&quot;&gt; choice 3
&lt;/details&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38363</commentid>
    <comment_count>4</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2010-09-01 07:52:41 +0000</bug_when>
    <thetext>Full definition of radiogroup role is here:
http://www.w3.org/WAI/PF/aria/roles#radiogroup

The initial sentence is &quot;A group of radio buttons,&quot; which I think is more relevant than the later elaboration.

I am not sure offhand if it is good UI to have a bunch of radio buttons (and no other controls?) in a &lt;details&gt;, but if one is checked by default, it could be a plausible way to hide an expert setting that most users would not want to mess with. It certainly is mechanically possible to do, as Steve&apos;s example demonstrates.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38364</commentid>
    <comment_count>5</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2010-09-01 07:55:41 +0000</bug_when>
    <thetext>working example: http://www.paciellogroup.com/blog/misc/HTML5/radio.html
note: only hackery used is to simulate the behaviour of details/summary as it is not yet supported in any browser (that I know of)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38525</commentid>
    <comment_count>6</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-07 16:55:23 +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: If you changed the role of a &lt;details&gt; element, the user could no longer expand the &lt;details&gt; element to get to its contents. That would be a net loss of accessibility. If you have a group of radio buttons inside a &lt;details&gt; and you need to wrap them with role=radiogroup, then you should use an element for that group; &lt;details&gt; is not it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38557</commentid>
    <comment_count>7</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2010-09-07 20:04:46 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are
&gt; satisfied with this response, please change the state of this bug to CLOSED. If
&gt; you have additional information and would like the editor to reconsider, please
&gt; reopen this bug. If you would like to escalate the issue to the full HTML
&gt; Working Group, please add the TrackerRequest keyword to this bug, and suggest
&gt; title and text for the tracker issue; or you may create a tracker issue
&gt; yourself, if you are able to do so. For more details, see this document:
&gt;    http://dev.w3.org/html5/decision-policy/decision-policy.html
&gt; 
&gt; Status: Rejected
&gt; Change Description: no spec change
&gt; Rationale: If you changed the role of a &lt;details&gt; element, the user could no
&gt; longer expand the &lt;details&gt; element to get to its contents. That would be a net
&gt; loss of accessibility. If you have a group of radio buttons inside a &lt;details&gt;
&gt; and you need to wrap them with role=radiogroup, then you should use an element
&gt; for that group; &lt;details&gt; is not it.

The following does not make sense, please explain why:

&gt; If you changed the role of a &lt;details&gt; element, the user could no
&gt; longer expand the &lt;details&gt; element to get to its contents.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38634</commentid>
    <comment_count>8</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2010-09-08 08:34:56 +0000</bug_when>
    <thetext>I think Ian&apos;s point is that setting the role attribute overrides the default semantics of the &lt;details&gt; element. The default semantics allow you to expand the &lt;details&gt; element.

So maybe the right answer here is to not allow the role=&quot;&quot; attribute on the &lt;details&gt; element as it would no longer function correctly?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38637</commentid>
    <comment_count>9</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2010-09-08 08:36:14 +0000</bug_when>
    <thetext>I.e. if you did &lt;details role=search&gt; the AT-client would get it back as a &quot;search&quot; entity rather than a &lt;details&gt; entity and would not offer the user the ability to expand the element. The same for &lt;details role=radiogroup&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38644</commentid>
    <comment_count>10</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-08 08:47:50 +0000</bug_when>
    <thetext>Ah, yeah, allowing that is a bug. I&apos;ll fix that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39479</commentid>
    <comment_count>11</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-26 16:37:44 +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: see diff given below
Rationale: So I went to make sure that &quot;search&quot; didn&apos;t support aria-expanded, but it does. So then I checked what did, and I realised that I&apos;d made a mistake and not just direct &quot;group&quot; descendants support aria-expanded, but a whole bunch of roles do. So I changed the spec to allow any of the roles that support aria-expanded, including role=radiogroup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39480</commentid>
    <comment_count>12</comment_count>
    <who name="">contributor</who>
    <bug_when>2010-09-26 16:38:17 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r5511.
Check-in comment: For &lt;details&gt;, allow any of the roles that support aria-expanded.
http://html5.org/tools/web-apps-tracker?from=5510&amp;to=5511</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43384</commentid>
    <comment_count>13</comment_count>
    <who name="Michael Cooper">cooper</who>
    <bug_when>2010-12-15 14:37:13 +0000</bug_when>
    <thetext>Big triage sub-team thinks the ARIA mapping team should review and update this bug as the mappings are prepared, but no need for entire HTML A11Y TF to review. Assigning to Steve Faulkner to track.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>