<?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>11811</bug_id>
          
          <creation_ts>2011-01-19 15:01:10 +0000</creation_ts>
          <short_desc>Correct errors in handling frame and iframe elements</short_desc>
          <delta_ts>2011-11-07 20:08:27 +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>All</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="Andi Snow-Weaver">andi.snowweaver</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>44479</commentid>
    <comment_count>0</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2011-01-19 15:01:10 +0000</bug_when>
    <thetext>James&apos; comment: 

6.1. Documents, Handling frame and iframe elements
&quot;&quot;&quot;
Computing the accessible name for an accessibility node for contained documents:

If a sub-document, do a depth-first name computation using aria-labelledby from the &lt;frame&gt; or &lt;iframe&gt;. If the name is still empty, use the title attribute from the &lt;frame&gt; or &lt;iframe&gt;.
If the name is still empty, use a depth-first name computation from aria-labelledby on the document&apos;s root WAI-ARIA node. If it is still empty use the title attribute on the root WAI-ARIA node.
If the name is still empty, and the title element or some other means exists of getting the accessible name, use that.
&quot;&quot;&quot;

This is incorrect because it leaves out the host language labeling mechanism (document.title) and uses a different order than the text alternative computation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44480</commentid>
    <comment_count>1</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2011-01-19 15:02:46 +0000</bug_when>
    <thetext>More comments from James on this section:

6.1. Documents, Handling frame and iframe elements
&quot;&quot;&quot;
Computing the accessible description for an accessibility node for contained documents:

If a sub-document, do a depth-first description computation using aria-describedby from the frame or iframe.
If the description is still empty, use a depth-first name computation from aria-describedby on the document&apos;s root WAI-ARIA node.
&quot;&quot;&quot;

Thist could also use description (or summary) meta tag as the host language description mechanism.

--------------------------------------------------------------

6.1. Documents, Handling frame and iframe elements
&quot;&quot;&quot;
This allows the author of the root document to control what gets spoken. They might include an otherwise polite chat program in an iframe and make it assertive.
&quot;&quot;&quot;

This also allows authors to override potentially assertive content that should not be assertive, for example, from included ad banners.

--------------------------------------------------------------

6.1. Documents, Handling frame and iframe elements
&quot;&quot;&quot;
When entering a parent document, refresh the state to again allow override of each of these object properties
&quot;&quot;&quot;

Refresh is the wrong word here because it implies document.reload. Should probably be &quot;update the cache of the accessibility tree&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44571</commentid>
    <comment_count>2</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2011-01-21 17:17:17 +0000</bug_when>
    <thetext>Added frame/iframe example to bullet 2C in accessible name computation algorithm. Removed this text from the handling frame and iframe elements section: 

Computing the accessible name for an accessibility node for frame elements:

Accessibility properties for the accessibility node for frame elements are exposed as they normally are for an element.

&lt;remove&gt;

Computing the accessible name for an accessibility node for contained documents:

If a sub-document, do a depth-first name computation using aria-labelledby from the &lt;frame&gt; or &lt;iframe&gt;. If the name is still empty, use the title attribute from the &lt;frame&gt; or &lt;iframe&gt;.

If the name is still empty, use a depth-first name computation from aria-labelledby on the document&apos;s root WAI-ARIA node. If it is still empty use the title attribute on the root WAI-ARIA node.

If the name is still empty, and the title element or some other means exists of getting the accessible name, use that.



Computing the accessible description for an accessibility node for contained documents:

If a sub-document, do a depth-first description computation using aria-describedby from the frame or iframe.

If the description is still empty, use a depth-first name computation from aria-describedby on the document&apos;s root WAI-ARIA node.

&lt;/remove&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57783</commentid>
    <comment_count>3</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2011-10-04 17:08:54 +0000</bug_when>
    <thetext>Write up the general steps. This is basically saying the following:

In most cases, attributes on the document override attributes on the sub-document. But in the case of aria-live, -atomic, -relevant, and -busy the attributes of the sub-document override the attributes on the frame in the document.

David will provide Cynthia a test case to see what IE does. Need to find out how other APIs handle this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59697</commentid>
    <comment_count>4</comment_count>
    <who name="Andi Snow-Weaver">andi.snowweaver</who>
    <bug_when>2011-11-07 20:08:27 +0000</bug_when>
    <thetext>Per discussion at PF F2F meeting October 31st, we agreed to remove this section. 

http://www.w3.org/2011/10/31-pf-minutes.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>