[Webkit-unassigned] [Bug 127292] AX: SVG <desc> element not presented by screen reader

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 20 10:26:23 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=127292





--- Comment #5 from Dirk Schulze <krit at webkit.org>  2014-01-20 10:23:55 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > (In reply to comment #0)
> > > > Created an attachment (id=221660)
 --> (https://bugs.webkit.org/attachment.cgi?id=221660&action=review) [details] [details] [details] [details]
> > > > Example
> > > > 
> > > > <svg xmlns="http://www.w3.org/2000/svg">
> > > >     <desc>A black circle.</desc>
> > > >     <circle cx="50" cy="50" r="50"/>
> > > > </svg>
> > > > 
> > > > The desc element in the example above is ignored. SVGElement has a method called title() for scanning for <title> elements.
> > > > 
> > > > SVGDescElement has a method called description() that can be used.
> > > > 
> > > > Chris, James: What is the preferred way for AX to read the description?
> > > 
> > > I think this would probably end up being exposed in the accessibilityDescription() method (on the mac it would be AXDescription)
> > 
> > Hm, there is a AXDescriptionList object that I could find. Do you mean
> > 
> > String AccessibilityNodeObject::accessibilityDescription() const
> > 
> > ?
> > 
> > This one is currently using the title element instead of the desc element. This probably should not be the case.
> > 
> > The title attribute is more similar to the title attribute on <a> link tag I assume. Should it be relinked?
> 
> In that case it sounds like <title> should go to helpText() and <desc> should go to accessibilityDescription


Just to confirm... helpText() would still be read by the screen reader?

So:

<svg>
    <title>Title</title>
    <desc>A long description</desc>
</svg>

would result in reading both, the title and the description as it should be done for the example above?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list