<?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>25135</bug_id>
          
          <creation_ts>2014-03-24 13:05:38 +0000</creation_ts>
          <short_desc>allow summary to have role=button</short_desc>
          <delta_ts>2014-05-12 12:59:53 +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>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>CR</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="steve faulkner">faulkner.steve</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>zcorpan</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>102820</commentid>
    <comment_count>0</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-03-24 13:05:38 +0000</bug_when>
    <thetext>&quot;summary element 	No role&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102821</commentid>
    <comment_count>1</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-03-24 13:17:14 +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: refer to https://github.com/w3c/html/commit/943d59922300d6fa2bef6815ba4950f197bbac2e
Rationale: the button role is the expected role for the summary element on some platforms, and is the obvious choice for details/summary polyfil http://rawgithub.com/w3c/html-api-map/master/index.html#summary-and-details-elements
no good reason to make it non conforming.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102917</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-03-26 11:35:56 +0000</bug_when>
    <thetext>I think this change doesn&apos;t make sense given how summary is defined. It&apos;s like allowing role=button on &lt;video&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102919</commentid>
    <comment_count>3</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-03-26 11:56:50 +0000</bug_when>
    <thetext>(In reply to Simon Pieters from comment #2)
&gt; I think this change doesn&apos;t make sense given how summary is defined. It&apos;s
&gt; like allowing role=button on &lt;video&gt;.

I don&apos;t agree that the comparison is useful (video/summary) 
It makes sense for polyfilling implementations (example)[1]. also appears that current implementations (chrome/webkit) do something different to what the spec says (or doesn&apos;t say).

[1]http://www.html5accessibility.com/CSUN14/details.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102922</commentid>
    <comment_count>4</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-03-26 13:20:44 +0000</bug_when>
    <thetext>(In reply to Simon Pieters from comment #2)
&gt; I think this change doesn&apos;t make sense given how summary is defined. It&apos;s
&gt; like allowing role=button on &lt;video&gt;.

also note that previously and now in the html spec implementers can provide any accessibility information they like (no role [1]) all that has been changed is that its conforming for authors to use role=button.

[1] http://www.w3.org/html/wg/drafts/html/master/dom.html#concept-role-none</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102926</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-03-26 16:38:41 +0000</bug_when>
    <thetext>For polyfill I&apos;d recommend inserting a button as a child of summary. As for webkit/blink, that&apos;s a bug in the impl.

Also see https://www.w3.org/Bugs/Public/show_bug.cgi?id=24835</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102930</commentid>
    <comment_count>6</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-03-26 16:54:32 +0000</bug_when>
    <thetext>(In reply to Simon Pieters from comment #5)
&gt; For polyfill I&apos;d recommend inserting a button as a child of summary. As for
&gt; webkit/blink, that&apos;s a bug in the impl.
&gt; 
&gt; Also see https://www.w3.org/Bugs/Public/show_bug.cgi?id=24835

on the related bug i asked the question https://www.w3.org/Bugs/Public/show_bug.cgi?id=25140:

Are there any use cases for allowing interactive descendants?

are there?

As for
&gt; webkit/blink, that&apos;s a bug in the impl.

bug number?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102995</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-03-27 11:52:46 +0000</bug_when>
    <thetext>https://code.google.com/p/chromium/issues/detail?id=94384</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103073</commentid>
    <comment_count>8</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-03-28 09:19:10 +0000</bug_when>
    <thetext>(In reply to Simon Pieters from comment #7)
&gt; https://code.google.com/p/chromium/issues/detail?id=94384

thanks for that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103448</commentid>
    <comment_count>9</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-04-05 14:48:49 +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: partially accepted
Change Description: added constraint to conforming usage of button on summary see commit https://github.com/w3c/html/commit/541825211eece40c2ef139fb5305e6601c436ad8
Rationale: agreed with commenter that if the summary element contains interactive content the role=button does not make sense. While by default summary is not classed as interactive content, as it states in the spec

&quot;The tabindex attribute can also make any element into interactive content.&quot; 
http://www.w3.org/html/wg/drafts/html/master/dom.html#interactive-content-0

In the case where tabindex is used on summary to make it interactive a role=button is allowed unless the summary contains interactive descendant elements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105718</commentid>
    <comment_count>10</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2014-05-12 12:59:53 +0000</bug_when>
    <thetext>*** Bug 24869 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>