I write: >>Technique A.1.6 >><http://www.w3.org/WAI/GL/wai-gl-techniques-19980908.html#avoid-ascii-art> >>says: >> >>>However, if ascii art must be used, mark it up as such: >>> >>>Example. >>> >>><SPAN class="smile" title="smiley in ascii art">:-)</SPAN> >>> >>>End example. >> >> The problem is that there is no ALT attribute defined for SPAN >>in the HTML4.0 spec, so this example violates guideline C.4.1. Wendy Chisholm replies: >"title" is a valid attribute on SPAN. Whoops, I was quoting the wrong example. I was thinking of the subsequent paragraph " Another way to replace ascii art is to use human language " substitutes. For example, <wink> might substitute for the emoticon " <SPAN alt="wink" title="wink smiley">;-)</SPAN>, which uses ALT as well as TITLE on a SPAN (although I suppose it's not actually an example). Oh, and of course <wink> would have to be written as <wink>. >><OBJECT DATA="cow.txt" TYPE="text/x-ascii-art" TITLE="drawing of a cow"> >>Cow >></OBJECT> >yes, this is another interesting way to do this. Although only useful if agreement is reached on the MIME type and browser makers are aware of it. John T. Whelan whelan@iname.com http://www.slack.net/~whelan/Received on Thursday, 10 September 1998 00:29:52 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 22 March 2009 02:50:34 GMT