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

Jeff asked me off list how this might be tested...

I set up a simple example: http://www.openicon.org/icon-ark/mulberry/fruit.svg

not one of the major UA 'figured out' which title to present.

assuming my test is suitable, perhaps this is evidence enough of the  
need for examples in the test suite?

using os x and the system language English

Safari presents no title information afaik

Opera and Mozilla present the first title in any list, in this case:    
<title xml:lang="fr">les fruits</title>

changing the system language had no effect on edited versions, with  
English first.

regards


Jonathan Chetwynd

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

+44 (0) 20 7978 1764


Le 30 Jun 2008 à 20:09, Robin Berjon a écrit :

>
> 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 Tuesday, 1 July 2008 07:09:44 UTC