W3C home > Mailing lists > Public > www-svg@w3.org > October 2010

Re: Where to put <desc> tags

From: Jeff Schiller <codedread@gmail.com>
Date: Mon, 4 Oct 2010 17:08:36 -0700
Message-ID: <AANLkTikhG6LO-Hf4dNNwe3FYkxJK_syBEFUpVxPhpT0o@mail.gmail.com>
To: ddailey <ddailey@zoominternet.net>
Cc: www-svg@w3.org
Hi David,

All documentation I've ever seen for both the <title> and <desc> elements
say that they describe the graphical element that contain it (its parent) -
so the latter in your email.


On Mon, Oct 4, 2010 at 4:55 PM, ddailey <ddailey@zoominternet.net> wrote:

>  In what appear to be the two main documents from W3C on accessibility in
> SVG [1,2], there seem to be slightly unclear advice in where to put <desc>
> tags.
> In some of the examples, the <desc> precedes the group or object it is
> meant to describe:
> <desc>this is a red rectangle meant to portray a button</desc>
> <rect fill="red" />
> In others, it is embedded as a child of the object it describes:
> <rect fill="red" >
> <desc>this is a red rectangle meant to portray a button</desc>
> </rect>
> The latter would seem to be a better approach since the <desc> is rather
> yoked to the thing it describes, but how are search engines and screen
> readers likely to deal with it?
> Is there another place where this is discussed, or am I missing something
> in my reading of these? What is the best advice for authors?
> thanks
> David
> [1] (dated 2000) http://www.w3.org/TR/SVG-access/
> {2] (dated 2008)
> http://www.w3.org/TR/SVG/access.html#SVGAccessibilityGuidelines
Received on Tuesday, 5 October 2010 00:34:29 UTC

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