W3C home > Mailing lists > Public > www-svg@w3.org > June 2008

Re: How to provide titles and descriptions in a second language?

From: Jonathan Chetwynd <j.chetwynd@btinternet.com>
Date: Mon, 30 Jun 2008 21:33:13 +0100
Cc: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>, www-svg@w3.org
Message-Id: <E23702E7-FFC0-4DA0-ABB7-BBC0253AFCF9@btinternet.com>
To: Robin Berjon <robin@berjon.com>
Wouldn't this be a great example for the test suite?

regards


Jonathan Chetwynd

j.chetwynd@btinternet.com
http://www.openicon.org/

+44 (0) 20 7978 1764


On 30 Jun 2008, at 20:09, Robin Berjon wrote:

>
> On Jun 30, 2008, at 19:44 , Dr. Olaf Hoffmann wrote:
>> as I discoverd now, the elements title and desc do not have
>> the attribute systemLanguage in SVG 1.1 and SVGT1.2.
>>
>> How to provide (or to switch to) a second language for
>> title and description without repeating the parent element
>> of those elements. How to switch the document title and
>> description?
>>
>> Maybe it is useful to add this attribute to title and desc
>> in SVG 1.2, because often those elements contain the
>> major part of text in SVG documents and it might be
>> useful for accessibility reasons to provide those information
>> in more than one language.
>
> Nothing keeps you from providing title and desc in more than one  
> language: simply use the xml:lang attribute to indicate which  
> language they're in. Since they do not have any effect on rendering  
> there is no need to switch them, just include several, each with  
> their own language. It's up to the UA what happens with them (e.g.  
> showing up as a tooltip or being read out) so it ought to figure out  
> which one it wants to use.
>
> -- 
> Robin Berjon - http://berjon.com/
>
>
>
>
Received on Monday, 30 June 2008 20:33:56 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:39 GMT