W3C home > Mailing lists > Public > w3c-wai-ua@w3.org > July to September 2010

make @title required attribute for FRAME and IFRAME [ACTION-447]

From: Gregory J. Rosmaita <oedipus@hicom.net>
Date: Thu, 9 Sep 2010 20:55:34 +0100
To: w3c-wai-ua@w3.org
Message-Id: <20100909195238.M39556@hicom.net>
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 

EXAMPLE 1: @title used in FRAME

<html xmlns="http://www.w3.org/1999/xhtml">
    <title>A simple frameset document</title>
  <frameset cols="10%, 90%">
    <frame src="nav.html" title="Main menu" />
    <frame src="doc.html" title="Documents" />
        <a href="lib.html" title="Library link">Select to
        go to the electronic library</a>

EXAMPLE 2: @title used in IFRAME

<html xmlns="http://www.w3.org/1999/xhtml">
    <title>A document using iframe</title>
<iframe src="banner-ad.html" id="testiframe" 
  name="testiframe" title="Advertisement">
    <a href="banner-ad.html">Advertisement</a>
Received on Thursday, 9 September 2010 19:56:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:38:41 UTC