This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 13649 - Expose SVG <title> and <desc> to AAPIs
Summary: Expose SVG <title> and <desc> to AAPIs
Status: NEW
Alias: None
Product: SVG
Classification: Unclassified
Component: Accessibility Support (show other bugs)
Version: SVG 2.0
Hardware: PC Windows XP
: P2 normal
Target Milestone: Working Draft
Assignee: Doug Schepers
QA Contact: SVG Public List
URL: http://www.w3.org/TR/2011/WD-html5-20...
Whiteboard:
Keywords: a11y, a11ytf
Depends on:
Blocks:
 
Reported: 2011-08-03 23:15 UTC by Michael Cooper
Modified: 2011-08-04 12:08 UTC (History)
7 users (show)

See Also:


Attachments

Description Michael Cooper 2011-08-03 23:15:48 UTC
[Filing on behalf of John Gardner]

We need eventually to define how the root-level <title> and <desc> tags are exposed to AT agents in an HTML document. It is not yet clear how the <desc> element should be exposed, but the <title> element is pretty obvious. The root <title> element should be exposed to AT agents exactly as the <img> element's "alt" attribute is exposed. However, an "aria-label" attribute on the <svg> element should take precedence.

HTML Task Force in discussion is unclear in this case whether it's a question
for the HTML spec or the SVG spec, since this is "inside" the SVG element.
Filing this bug to meet deadline but will need to figure this out.
Comment 1 Cameron McCormack 2011-08-03 23:36:23 UTC
(In reply to comment #0)
> We need eventually to define how the root-level <title> and <desc> tags are
> exposed to AT agents in an HTML document. It is not yet clear how the <desc>
> element should be exposed, but the <title> element is pretty obvious. The root
> <title> element should be exposed to AT agents exactly as the <img> element's
> "alt" attribute is exposed.

Is that also the same as how an <img> element's title="" attribute is exposed?  Because I think of SVG <title> as more like title="" than alt="".

> However, an "aria-label" attribute on the <svg>
> element should take precedence.
> 
> HTML Task Force in discussion is unclear in this case whether it's a question
> for the HTML spec or the SVG spec, since this is "inside" the SVG element.
> Filing this bug to meet deadline but will need to figure this out.

I think this should be defined by SVG, but we currently do not.  SVG 2 or a separate specification will define default roles etc. for SVG content.  HTML can then defer to that.
Comment 2 Michael[tm] Smith 2011-08-04 05:36:10 UTC
mass-move component to LC1
Comment 3 Anne 2011-08-04 08:46:29 UTC
Defining the semantics of SVG is out of scope for HTML. Re-assigning to SVG.