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

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

From: Jeff Schiller <codedread@gmail.com>
Date: Tue, 1 Jul 2008 07:34:34 -0500
Message-ID: <da131fde0807010534l5cb08d0k3cd419839a933e64@mail.gmail.com>
To: "Jonathan Chetwynd" <j.chetwynd@btinternet.com>
Cc: "Robin Berjon" <robin@berjon.com>, "Dr. Olaf Hoffmann" <Dr.O.Hoffmann@gmx.de>, www-svg@w3.org
Jonathan,

Opera displays the title as a tooltip when hovering.  I consider Opera one
of the major UAs.

My question was really about how to define a clear test/fail criteria.  Can
we properly phrase the pass criteria in a sentence or two?

The spec http://www.w3.org/TR/SVG11/struct.html#DescriptionAndTitleElementssays
that the title and description are not displayed when the SVG is
displayed on visual media and then says browsers MAY display the title under
certain circumstances but it is not clear that they MUST.  I think we all
agree that they SHOULD.

Do we state that hovered tooltips are the mandatory way browsers must
display the <title>?  Or maybe something more general like:

"The user must be able to cause the browser to reveal the contents of the
<title> element in some way.  One popular (and recommended) means is by
hovering the mouse pointer over the element such that the <title> contents
are displayed as a tooltip."

Jonathan, maybe you and I can start expanding on this at
http://www.w3.org/Graphics/SVG/IG/wiki/Accessibility_Activity ?

Regards,
Jeff


On Tue, Jul 1, 2008 at 2:08 AM, Jonathan Chetwynd <j.chetwynd@btinternet.com>
wrote:

> 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
>
>   <http://www.openicon.org>
>
> 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 12:35:11 GMT

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