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

[1.2T-LC] title and desc example 'title-desc-tooltip.svg'

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Thu, 18 Sep 2008 19:54:35 +0200
To: www-svg@w3.org
Message-Id: <200809181954.35953.Dr.O.Hoffmann@gmx.de>

Hello SVG WG,

in the section 5.5.3 there is an example
title-desc-tooltip.svg; I have some suggestions
to improve this.

- maybe more useful to use version 1.2 and the
  tiny profile and not version 1.1, because the
  draft ist about SVGT 1.2 and SVG 1.1 has no
  role attribute

- if this is modified to an SVGT 1.2 example,
  it is useful too to use xml:id instead of id
  as suggested in the related section about
  id and xml:id 

- looking at the points list of #beeCell
  I came to the conclusion, that it is not a regular
  hexagon (what is of course no problem, one 
  cannot assume, that a bee cell is really a regular
  hexagon), but then I do not understand the
  content of the meta element. 
  Ok, the hexagon still has some symmetries, but
  four parameter are not sufficient to describe the
  hexagon (for a regular hexagon, four would be
  enough: center x,y, here 0,0, radius for corners,
  angle for one corner). Therefore without further
  explanation or reference to a specific namespace
  for hexagons it is not obvious, what the content
  of metadata could mean. Because there are 
  not may samples for the use of metadata, it is
  useful to have it, but the relation to the parent
  element should be simpler to identify to have 
  some profit from this part of the example.

- could be helpful to have somewhere an
  informative section including some more
  samples with short explanations for the content 
  of role. 
  I think, currently for a reader without 
  a predisposition something like role="aria:tooltip"
  is not obvious, how this is constructed.
  For example in the referenced wai-aria document
  this is indicated as  'Role: tooltip'


Additional side note:
Many examples in the draft have no title element,
but the chapter about title and desc notes:
"Authors should always provide at least a 'title', and preferably a 'desc', as 
an immediate child element to the 'svg' element within an SVG document."

Well, if the examples in the draft have any educational functionality,
indeed, draft authors too should at least provide a title for the svg
element, if it is a complete sample and not just a document fragment 
or should add some '...' to indicate, that it is only a fragment ;o)

Or does this mean: "Authors should always provide at least a 'title' OR 
primarily a 'desc' ...", because many samples have a 'desc' but no
'title'?



Best wishes

Olaf
Received on Thursday, 18 September 2008 18:04:10 GMT

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