<?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>12053</bug_id>
          
          <creation_ts>2011-02-13 19:18:10 +0000</creation_ts>
          <short_desc>The current default ARIA role for the summary element in HTML5 is nonsensical</short_desc>
          <delta_ts>2012-01-13 09:52:14 +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>LC1 HTML5 spec</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></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="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>laura.lee.carlson</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-a11y</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>w3c</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>45450</commentid>
    <comment_count>0</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2011-02-13 19:18:10 +0000</bug_when>
    <thetext>change default role of summary from heading to none
It is starting to become clear that the summary element will be the interactive part of the details/summary disclosure widget.
in this case it needs to convey useful name/role and state information to AT.

below is the info i sent in response to question for advice on summary/details implementation:
the key points are that depending on the platform accessibility API the summary element will have a different role, as an interactive control it needs to convey that interactivity not a heading semantic.


http://lists.w3.org/Archives/Public/public-html/2011Feb/0238.html:

in order for the details/summary to be accessible to people with disabilities it needs to be hooked up to be able to receive focus, be operable with the keyboard and have role, name and state information exposed via accessibility APIs

below are some suggestions these:

I  would suggest the summary content act as the label for the disclosure triangle;
Clicking on the summary with a mouse will open/close the details element.
The summary should be keyboard focusable and when the spacebar is pressed it will open/close the details element.
as should a tap on a touch screen.

The summary element should be mapped to AXDisclosureTriangle[1] role in the Mac accessibility API.
the accessible name (AXTitle) for the disclosure triangle is the text content of the summary element.
when the details element open attribute is present, set  AXValue property to 1 on the summary element. 
when the details element open attribute is absent, set  AXValue property to 0 on the summary element. 


On windows where there is no disclosure triangle role map it to the ROLE_SYSTEM_PUSHBUTTON in MSAA [2]

the accessible name (accName) for the button is the text content of the summary element.
when the details element open attribute is present set  STATE_SYSTEM_EXPANDED on the summary element. 
when the details element open absent is present set  STATE_SYSTEM_COLLAPSED on the summary element. 


[1] http://developer.apple.com/library/mac/#documentation/Accessibility/Reference/AccessibilityCarbonRef/Reference/reference.html%23//apple_ref/doc/uid/TP40001082-CH1g-BAJGFBAF
[2] 
http://msdn.microsoft.com/en-us/library/dd373608(v=VS.85).aspx
http://msdn.microsoft.com/en-us/library/dd318466(v=VS.85).aspx</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45598</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Kliehm">w3c</who>
    <bug_when>2011-02-15 16:11:39 +0000</bug_when>
    <thetext>The bug-triage sub-team thinks this is a Accessibility Task Force priority, adding the a11yTF keyword.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47885</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-05-03 19:53:24 +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: Concurred with reporter&apos;s comments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47887</commentid>
    <comment_count>3</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-05-03 19:54:18 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r6054.
Check-in comment: Update ARIA role for &lt;summary&gt;.
http://html5.org/tools/web-apps-tracker?from=6053&amp;to=6054</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52443</commentid>
    <comment_count>4</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:01:32 +0000</bug_when>
    <thetext>mass-moved component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62656</commentid>
    <comment_count>5</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2012-01-13 09:52:14 +0000</bug_when>
    <thetext>removing keywords as is fixed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>