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

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

From: Robin Berjon <robin@berjon.com>
Date: Mon, 30 Jun 2008 21:09:54 +0200
Cc: www-svg@w3.org
Message-Id: <4B0C6818-1C7D-4839-BCE1-29C2468DEE9D@berjon.com>
To: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>

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 19:10:37 GMT

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