This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 11811 - Correct errors in handling frame and iframe elements
Summary: Correct errors in handling frame and iframe elements
Status: RESOLVED FIXED
Alias: None
Product: ARIA
Classification: Unclassified
Component: Core AAM (show other bugs)
Version: 1.0
Hardware: PC All
: P1 normal
Target Milestone: ---
Assignee: Andi Snow-Weaver
QA Contact: ARIA UA Implementors
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-19 15:01 UTC by Andi Snow-Weaver
Modified: 2011-11-07 20:08 UTC (History)
1 user (show)

See Also:


Attachments

Description Andi Snow-Weaver 2011-01-19 15:01:10 UTC
James' comment: 

6.1. Documents, Handling frame and iframe elements
"""
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 <frame> or <iframe>. If the name is still empty, use the title attribute from the <frame> or <iframe>.
If the name is still empty, use a depth-first name computation from aria-labelledby on the document'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.
"""

This is incorrect because it leaves out the host language labeling mechanism (document.title) and uses a different order than the text alternative computation.
Comment 1 Andi Snow-Weaver 2011-01-19 15:02:46 UTC
More comments from James on this section:

6.1. Documents, Handling frame and iframe elements
"""
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's root WAI-ARIA node.
"""

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

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

6.1. Documents, Handling frame and iframe elements
"""
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.
"""

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
"""
When entering a parent document, refresh the state to again allow override of each of these object properties
"""

Refresh is the wrong word here because it implies document.reload. Should probably be "update the cache of the accessibility tree"
Comment 2 Andi Snow-Weaver 2011-01-21 17:17:17 UTC
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.

<remove>

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 <frame> or <iframe>. If the name is still empty, use the title attribute from the <frame> or <iframe>.

If the name is still empty, use a depth-first name computation from aria-labelledby on the document'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's root WAI-ARIA node.

</remove>
Comment 3 Andi Snow-Weaver 2011-10-04 17:08:54 UTC
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.
Comment 4 Andi Snow-Weaver 2011-11-07 20:08:27 UTC
Per discussion at PF F2F meeting October 31st, we agreed to remove this section. 

http://www.w3.org/2011/10/31-pf-minutes.html