language of alt attribute Re: [w3c-wai-ig] <none>

Which means that the alt attribute can use normal text, just like 
normal text can. If you are going to use an image, then, why not put 
normal text there, and for those who for some reason can't read that 
provide a picture (whatever you think is useful), and a label in the 
default language of the page.

For example in a Russian page linking to an english variant, you would 
have the following markup:

<head>
...
<link rel="alternate" hreflang="en" href="englishversion" />
...
</head><body>
...<a href="englishversion" hreflang="en" rel="alternate">English 
version of this page <img src="engelski" alt="XXX" /></a>
...

where XXX is the word english, written in Russian using cyrillic.

cheers

Chaals

On Monday, Sep 29, 2003, at 13:16 US/Pacific, David Woolley wrote:

>
>>
>>
>> Due to the inherent lack of language support in alt text. In plain 
>> text
>> you can define language and encoding something which you can't do for
>> alt text.
>
> All HTML attribute values have access to the full HTML character set, 
> which
> is most of ISO 10646, loosely Unicode.  The encoding information in the
> HTTP content-type header is irrelevant to the treatment of HTML
> entities in a conforming browser.  You can specify the language on
> the img element start tag, as lang is a core attribute.
>
>
--
Charles McCathieNevile                          Fundación Sidar
charles@sidar.org                                http://www.sidar.org

Received on Monday, 29 September 2003 16:33:11 UTC