<?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>29261</bug_id>
          
          <creation_ts>2015-11-04 15:01:14 +0000</creation_ts>
          <short_desc>define legend/fieldset acc name relatiosnhip in accname section</short_desc>
          <delta_ts>2015-11-11 15:52:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>ARIA</product>
          <component>HTML AAM</component>
          <version>1.1</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></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="steve faulkner">faulkner.steve</assigned_to>
          <cc>aboxhall</cc>
    
    <cc>faulkner.steve</cc>
    
    <cc>jason</cc>
    
    <cc>jcraig</cc>
    
    <cc>ricksbrown73</cc>
    
    <cc>surkov.alexander</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>124077</commentid>
    <comment_count>0</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-11-04 15:01:14 +0000</bug_when>
    <thetext>see related discussion start @alice and end @steve here
http://w3c.github.io/a11ySlackers/archives/2015/11/2015-11-03.html

partially defined here http://www.w3.org/TR/html-aam-1.0/#el-legend but needs AX mapping and also needs documenting here http://www.w3.org/TR/html-aam-1.0/#other-form-elements</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124078</commentid>
    <comment_count>1</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-11-04 15:02:37 +0000</bug_when>
    <thetext>related chrome bug https://code.google.com/p/chromium/issues/detail?can=2&amp;q=fieldset%20legend&amp;colspec=ID%20Pri%20M%20Stars%20ReleaseBlock%20Cr%20Status%20Owner%20Summary%20OS%20Modified&amp;id=550663&amp;thanks=550663&amp;ts=1446512395</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124087</commentid>
    <comment_count>2</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-11-05 11:26:57 +0000</bug_when>
    <thetext>@james can you provide details or pointer to details on how the legend element content is used to provide the label/description for the fieldset?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124149</commentid>
    <comment_count>3</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-11-10 11:44:42 +0000</bug_when>
    <thetext>have added general name/desc calc stuff (http://rawgit.com/w3c/aria/master/html-aam/html-aam.html#figure-and-figcaption-elements), still need details for AX</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124150</commentid>
    <comment_count>4</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-11-10 11:45:33 +0000</bug_when>
    <thetext>(In reply to steve faulkner from comment #3)
&gt; have added general name/desc calc stuff
&gt; (http://rawgit.com/w3c/aria/master/html-aam/html-aam.html#figure-and-
&gt; figcaption-elements), still need details for AX

sorry wrong link here is correct: http://rawgit.com/w3c/aria/master/html-aam/html-aam.html#fieldset-and-legend-elements</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124166</commentid>
    <comment_count>5</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2015-11-11 07:48:58 +0000</bug_when>
    <thetext>(In reply to steve faulkner from comment #2)
&gt; @james can you provide details or pointer to details on how the legend
&gt; element content is used to provide the label/description for the fieldset?

If you&apos;re asking about WebKit, the &lt;legend&gt; text is used to populate the label of the containing &lt;fieldset&gt; element, which is exposed as:

Role: AXGroup
Subrole: AXFieldset
AXDescription: (containing text value of &lt;legend&gt;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124167</commentid>
    <comment_count>6</comment_count>
    <who name="James Craig">jcraig</who>
    <bug_when>2015-11-11 07:53:15 +0000</bug_when>
    <thetext>(In reply to James Craig from comment #5)
&gt; Role: AXGroup

AXRole: AXGroup

&gt; Subrole: AXFieldset

AXSubrole: AXFieldset

&gt; AXDescription: (containing text value of &lt;legend&gt;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124168</commentid>
    <comment_count>7</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-11-11 08:25:29 +0000</bug_when>
    <thetext>(In reply to James Craig from comment #5)
&gt; (In reply to steve faulkner from comment #2)
&gt; &gt; @james can you provide details or pointer to details on how the legend
&gt; &gt; element content is used to provide the label/description for the fieldset?
&gt; 
&gt; If you&apos;re asking about WebKit, the &lt;legend&gt; text is used to populate the
&gt; label of the containing &lt;fieldset&gt; element, which is exposed as:
&gt; 
&gt; Role: AXGroup
&gt; Subrole: AXFieldset
&gt; AXDescription: (containing text value of &lt;legend&gt;)

thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124169</commentid>
    <comment_count>8</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-11-11 09:37:58 +0000</bug_when>
    <thetext>https://www.w3.org/Bugs/Public/show_bug.cgi?id=29261</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124170</commentid>
    <comment_count>9</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-11-11 09:38:52 +0000</bug_when>
    <thetext>try that again, this commit fixes https://github.com/w3c/aria/commit/6ee270a29973096688589fada2ebe98e00b36165</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124177</commentid>
    <comment_count>10</comment_count>
    <who name="steve faulkner">faulkner.steve</who>
    <bug_when>2015-11-11 15:52:15 +0000</bug_when>
    <thetext>tested on latest Safari/Mac
using this test page http://codepen.io/stevef/pen/VvVVvz
legend only = AXDescription
aria-label+legend = AXDescription from label, legend dropped
aria-label+legend used as describedby = AXDescription from label, AXHelp from legend 

Also note @James AXsubRole=null for fieldset.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>