Re: systemLanguage title/desc

On Monday, June 9, 2003, 11:10:28 AM, Jim wrote:



JL> "Chris Lilley" <chris@w3.org> wrote in message
JL> news:18242922579.20030609033418@w3.org...
>>
>> On Sunday, June 8, 2003, 10:21:06 PM, Jim wrote:
>>
>>
>> JL> Hi,
>>
>> JL> We can't use systemLanguage as a simple switch on title and desc
JL> elements,
>>
>> Correct, because they are not part of the rendering tree.
>> http://www.w3.org/TR/SVG11/struct.html#Conditional.attrib

JL> Hmm, it's not part of the _normal_ rendering tree, however even SVG 1,1
JL> suggests that title might be used as a tooltip, so it certainly has the
JL> capacity to be rendered.

Yes (although that does not put it in the rendering tree, for example
enable-background will not get you that content, and so on).

>> I take it that you would like this restriction to be relaxed, to
>> affect presentation of any sort regardless of whether it is SVG
>> rendering.

JL> Absolutely, it seems somewhat odd that we can have all the text in a
JL> document regionalised, but the title has to stay in a single language?

I agree. I am just trying to figure out how to spec it.

JL>  I've
JL> got a situation where I'm authoring some images, with no visible text, so I
JL> obviously need the description and title to say the equivalent for
JL> accessibility reasons, and that needs to be in multiple languages.

Yes.

>> For example, if there are three titles all in english, and
>> your browser presents title elements as tooltips, does it display them
>> all? The first one?

JL> Since SVG does not mandate any such rendering of title, UA's are free to do
JL> what they want... I think it's more important that we can title the document
JL> in more than 1 language, rather than worrying what it should do in edge
JL> conditions.

Well, the spec still has to describe the edge conditions, and the
freedom to which you refer might be tightened in subsequent versions
of the spec.

>> Store multiple titles in metadata, each with xml:lang; use script to
>> find out the users preferred language and if that exists, replace the
>> title element with the correct language.

JL> I would hope to do it without script.

Sure, but that part of the answer was in response to 'what can I do
now with existing spec and tools'.

-- 
 Chris                            mailto:chris@w3.org

Received on Monday, 9 June 2003 16:08:07 UTC