- From: ~:'' ありがとうございました。 <j.chetwynd@btinternet.com>
- Date: Sun, 6 Jan 2008 09:20:24 +0000
- To: ~:'' ありがとうございました。 <j.chetwynd@btinternet.com>
- Cc: www-svg List <www-svg@w3.org>
Title as attribute or element?
this is an attempt to describe my concerns with the current use and
specification for <title>
in the SVG 1.1 test suite:
http://www.w3.org/Graphics/SVG/Test/20061213/htmlObjectHarness/full-
index.html
the titles provided, rather than using a precis of the description
which would be informative merely repeat the file name, which in most
cases is not informative to the naive.
eg:
http://www.w3.org/Graphics/SVG/Test/20061213/htmlObjectHarness/full-
text-fonts-01-t.html
"test for font family" rather than "text-fonts-01-t"
http://www.w3.org/Graphics/SVG/Test/20061213/htmlObjectHarness/full-
text-fonts-02-t.html
"test for font weight" rather than "text-fonts-02-t"
the use of <title> in the wild may be rare, for instance:
http://commons.wikimedia.org/wiki/Category:Weather_symbols
http://www.croczilla.com/svg/samples/
and iirc the recent W3 SW SVG logos were initially published without
a title
furthermore, the use of title to describe the whole document isn't
unambiguous.
according to the spec anything not in a group is considered a
separate group.
so unless, or perhaps even if, a title is the first child of an SVG
it isn't clear which title is the document title. ie the title refers
to the group, not the document, was it Gödel who first mentioned
this? it's an issue that has arisen before when considering W3 specs.
using a similar argument, within a group, it may not be unambiguous
what a given title may refer to.
it seems to me that because of this inherent lack of clarity title
may be better expressed as an attribute than an element. The
parentage being direct.
which leads to my previous mail:
I had hoped that treating title as an attribute of the SVG element
might resolve this.
however I misunderstood the spec, the language seems obscure or
poorly phrased:
http://www.w3.org/TR/SVG11/struct.html#XLinkTitleAttribute
>> xlink:title = '<string>'
The title attribute is used to describe the meaning of a link or
resource in a human-readable fashion, along the same lines as the
role or arcrole attribute.
What does "the meaning of a link" refer to?
how can a link have a meaning? surely only the reference has a meaning?
could the meaning be better expressed by replacing 'link or' with
'linked' as in:
"The title attribute is used to describe the meaning of a linked
resource in a human... " ??
regards
Jonathan Chetwynd
Accessibility Consultant on Media Literacy and the Internet
On 5 Jan 2008, at 17:42, ~:'' ありがとうございました。
wrote:
xlink:title as attribute of SVG element
is it valid to include xlink:title as attribute of SVG element**
current SVG user agents appear to use the first title in code as the
default text for bookmarking.
regards
Jonathan Chetwynd
Accessibility Consultant on Media Literacy and the Internet
http://www.w3.org/TR/SVG11/struct.html#XLinkTitleAttribute
**<svg xmlns="http://www.w3.org/2000/svg" version="1.2"
baseProfile="tiny"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="100%" height="100%"
xlink:title="My Peepo Bookmark"
>
Received on Sunday, 6 January 2008 09:20:43 UTC