Re: Comments on WAI guidelines

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
&lt;wink&gt;.

>><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 UTC