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:
http://www.comfsm.fm/~dleeling/ethnobotany/ethnogarden.xhtml
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 
concern.
-- 

Dana Lee Ling
Professor
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 GMT

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