W3C home > Mailing lists > Public > public-wcag2-techs@w3.org > July 2004

(X)HTML Techniques (Techniques XML Submission Form)

From: nobody <nobody@web3.w3.org>
Date: Thu, 29 Jul 2004 18:31:34 +0000 (GMT)
To: public-wcag2-techs@w3.org
Message-Id: <20040729183134.1F93336D0A@web3.w3.org>

 checkbox checked

Submission Results:

Technology: (X)HTML Techniques 
Techniques Category: Headings 
Submitter's Name: Ben Caldwell 
Submitter's Email: caldwell@trace.wisc.edu

<technique id="UNKNOWN">
<short-name>Image-based headings</short-name>
<applies-to>
 <guideline idref="" />
 <success-criterion idref="UNKNOWN" />
</guideline

</applies-to>

<task>
<p>If images are used as headings, include appropriate header markup</p>
</task>

<description>
While styling page headings can often be acheived using CSS, there are cases where it may be approporiate to use images to represent headings. 



</description>

<user-issues>
 <affects group="UNKNOWN" />
</user-issues>

<eg-group>
<description>
The following code illustrates how an image serving as a heading could be marked up so that it has structure.

</description>

<code><![CDATA[
<h1><img src="heading1.gif" alt="Example Heading One"></h1>
]]</code>

<ua-issues>

</ua-issues>
</eg-group>

<resources>
</resources>
</technique>

Additional Notes:

This is pretty rough. There is an interesting article from A list apart describing a technique for doing this dynamically:



Dynamic Text Replacement - http://www.alistapart.com/articles/dynatext/ 



It has some UA issues, but may also be worth considering as a technique.
Received on Thursday, 29 July 2004 14:31:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:37 GMT