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

Re: Title as attribute or element?

From: Dana Lee Ling <dleeling@comfsm.fm>
Date: Fri, 05 Dec 2008 13:18:53 +1100
Message-ID: <49388F8D.8000200@comfsm.fm>
To: www-svg@w3.org

I use the xlink:title attribute on shape elements in order to generate 
tooltips (FireFox only) that identify plants on a map of a garden:
e.g. <circle xlink:title="Calophyllum inophyllum" cx="0" cy="0" r="4" 
fill="white" stroke="black" stroke-width="1px" />
In other instances this might be an accessibility usage. This is not 
permitted by the SVG specification and thus fails validation. Where I 
there is an anchor element for the plant, I can use xlink:title on the 
anchor, and this is legal. But for many plants there is no link to an 
image, hence the xlink:title is often used as an attribute on the circle 
element. I feel xlink:title should be allowed on any displayed element 
for the purpose of tooltips and accessibility. Pardon me for being 
slightly off-topic, a search of the list did not turn up my particular 

Dana Lee Ling
College of Micronesia-FSM/National site
http://www.comfsm.fm/~dleeling/ <http://www.comfsm.fm/%7Edleeling/>

Historically diverse, uniquely Micronesian and globally connected, the 
College of Micronesia-FSM is a continuously improving and student 
centered institute of higher education. The college is committed to 
assisting in the developing of the nation by providing academic, career 
and technical educational opportunity for learners in the Federated 
States of Micronesia.

Go Sharks!
Received on Friday, 5 December 2008 02:20:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:21 UTC