W3C home > Mailing lists > Public > public-html@w3.org > September 2010

[Bug 10709] New: @title should be a required attribute for FRAME and IFRAME in HTML5

From: <bugzilla@jessica.w3.org>
Date: Thu, 23 Sep 2010 18:50:19 +0000
To: public-html@w3.org
Message-ID: <bug-10709-2495@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10709

           Summary: @title should be a required attribute for FRAME and
                    IFRAME in HTML5
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: a11y
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: oedipus@hicom.net
         QAContact: public-html-bugzilla@w3.org
                CC: oedipus@hicom.net, mike@w3.org,
                    public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


PROBLEM: while @title is a global attribute, @title should be a required
attribute for FRAME and 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>

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Thursday, 23 September 2010 18:50:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:14 GMT