<?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>7119</bug_id>
          
          <creation_ts>2009-07-17 12:23:50 +0000</creation_ts>
          <short_desc>Find out how IE computes names and descriptions of frames/iframes and the documents inside them</short_desc>
          <delta_ts>2010-07-20 20:58:20 +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>Core AAM</component>
          <version>1.0</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andi Snow-Weaver">andi.snowweaver</reporter>
          <assigned_to name="Cynthia Shelly">cyns</assigned_to>
          <cc>dbolter</cc>
          
          <qa_contact name="ARIA UA Implementors">aria-ua-impl</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26004</commentid>
    <comment_count>0</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2009-07-17 12:23:50 +0000</bug_when>
    <thetext> </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27090</commentid>
    <comment_count>1</comment_count>
    <who name="Cynthia Shelly">cyns</who>
    <bug_when>2009-09-11 20:22:50 +0000</bug_when>
    <thetext>in IE, &lt;frame&gt; and &lt;iframe&gt; elements aren&apos;t mapped to the accessibility tree by default.  The document inside them is mapped, and is in the tab order.  When you tab to framed content, focus goes to the &lt;body&gt; element of the contained page.  The role of the &lt;body&gt; is &apos;pane&apos; and the name comes from the &lt;title&gt;, just like in the main browser window. 

You can add &lt;frame&gt; and &lt;iframe&gt; to the accessibility tree just like any other element (using ARIA attributes or tabindex), in which case @title, @aria* and inner text would provide the name, like other elements.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27092</commentid>
    <comment_count>2</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2009-09-11 20:46:55 +0000</bug_when>
    <thetext>Related to bug # 7120</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27408</commentid>
    <comment_count>3</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2009-09-21 16:54:28 +0000</bug_when>
    <thetext>(In reply to comment #1)
 &gt; You can add &lt;frame&gt; and &lt;iframe&gt; to the accessibility tree just like any other
&gt; element (using ARIA attributes or tabindex), in which case @title, @aria* and
&gt; inner text would provide the name, like other elements.
&gt; 

Thanks. Can you give me an example of markup for this?  Are the aria attributes on the &lt;iframe&gt; element, or on the &lt;body&gt; of the frame source?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31199</commentid>
    <comment_count>4</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2010-01-25 17:02:16 +0000</bug_when>
    <thetext>Reassigning to Cynthia to answer David&apos;s question.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32512</commentid>
    <comment_count>5</comment_count>
    <who name="Cynthia Shelly">cyns</who>
    <bug_when>2010-02-23 00:07:08 +0000</bug_when>
    <thetext>&lt;frame&gt; and &lt;iframe&gt; elements are not accessible by default (meaning you wont see these specific elements in the accessibility tree). If they are made accessible (such as putting ARIA information on them), then they will get their accName like other MSHTML elements that are not usually accessible:

1.	Label (ARIA can override this via aria-labeledby)
2.	Title
3.	innerText

However, the BODY and FRAMESET elements are accessible by default and will return the page title as their name. I mention this because these are most likely the elements you will interact with on a page that has frames/iframes.

the &lt;frame&gt; or &lt;iframe&gt; element itself cannot receive focus (by default) so it goes to the first child that can (body).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32865</commentid>
    <comment_count>6</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2010-03-09 15:40:14 +0000</bug_when>
    <thetext>Would be good to know the IE tree for each of the frames here:
http://people.mozilla.com/~dbolter/frames/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35193</commentid>
    <comment_count>7</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2010-04-21 19:37:00 +0000</bug_when>
    <thetext>Saving the old text on the container-foo paragraph:

Computing container-foo on any node in a sub document: For container-live, container-atomic, container-relevant, and container-busy, inner nodes override outer nodes from within the same document, because the inner subtree is the more relevant context. However, outer documents override inner documents, because the outer document author may be different and may wish to define the context for a live iframe. Therefore:

   1. Walk the entire parent chain including that from outer documents, collecting the properties from aria-live, aria-atomic, aria-relevant, and aria-busy into the container-[property] object attribute
   2. If a node sets a given object attribute, set a state that does not allow that value to change that object attribute again within the document
   3. When entering a parent document, refresh the state to again allow override of each of these object properties</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35194</commentid>
    <comment_count>8</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2010-04-21 19:42:41 +0000</bug_when>
    <thetext>Modified 5.1.  Documents, Handling frame  and iframe elements

per March 9th meeting minutes: http://www.w3.org/2010/03/09-aapi-minutes.html

Changed terms:

&quot;outer document accessible&quot; to &quot;accessibility node for frame elements&quot;
&quot;inner document accessible&quot; to &quot;accessibility node for contained documents&quot;

Deleted glossary terms for 

&quot;outer document accessible&quot;
&quot;inner document accessible&quot;

Modified paragraph on computing &quot;container-&quot; object attributes to indicate this is specific to IAccessible2 and ATK. Added mashup example scenario from meeting minutes.

Needs review by David, then Cynthia.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35393</commentid>
    <comment_count>9</comment_count>
    <who name="David Bolter">dbolter</who>
    <bug_when>2010-05-04 14:29:13 +0000</bug_when>
    <thetext>OK</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36524</commentid>
    <comment_count>10</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2010-07-01 21:20:27 +0000</bug_when>
    <thetext>Cynthia, 

Please review section 5.1. If you are okay with it, I think we can close this bug.

http://www.w3.org/WAI/PF/aria-implementation/#document-handling_frames</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37026</commentid>
    <comment_count>11</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2010-07-20 20:58:20 +0000</bug_when>
    <thetext>Closing per meeting minutes from 8 June 2010
http://www.w3.org/2010/06/08-aapi-minutes.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>