- From: Gregory J. Rosmaita <oedipus@hicom.net>
- Date: Thu, 9 Sep 2010 20:55:34 +0100
- To: w3c-wai-ua@w3.org
the following is an initial draft of a bug in fulfillment of UAWG Action-447 (http://www.w3.org/WAI/UA/tracker/actions/447) PROBLEM: @title is not required for FRAME or IFRAME in HTML5 DETAILS: @title has been used since HTML4 by assistive technologies to present the user with information as to the nature and function of the FRAME or IFRAME for which it is defined. This is reflected in the Web Content Accessibility Guidelines, Level 2 (WCAG 2.0) which includes "Technique H64: Using the title attribute of the frame and iframe elements" QUOTE cite="http://www.w3.org/TR/WCAG20-TECHS/H64.html" The objective of this technique is to demonstrate the use of the title attribute of the frame or iframe element to describe the contents of each frame. This provides a label for the frame so users can determine which frame to enter and explore in detail. It does not label the individual page (frame) or inline frame (iframe) in the frameset. Note that the title attribute labels frames, and is different from the title element which labels documents. Both should be provided, since the first facilitates navigation among frames and the second clarifies the user's current location. The title attribute is not interchangeable with the name attribute. The title labels the frame for users; the name labels it for scripting and window targeting. The name is not presented to the user, only the title is. UNQUOTE EXAMPLE 1: @title used in FRAME <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>A simple frameset document</title> </head> <frameset cols="10%, 90%"> <frame src="nav.html" title="Main menu" /> <frame src="doc.html" title="Documents" /> <noframes> <body> <a href="lib.html" title="Library link">Select to go to the electronic library</a> </body> </noframes> </frameset> </html> EXAMPLE 2: @title used in IFRAME <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>A document using iframe</title> </head> ... <iframe src="banner-ad.html" id="testiframe" name="testiframe" title="Advertisement"> <a href="banner-ad.html">Advertisement</a> </iframe> ... </html>
Received on Thursday, 9 September 2010 19:56:05 UTC