[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:47:31 PST 2014


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





--- Comment #6 from chris fleizach <cfleizach at apple.com>  2014-01-20 10:45:03 PST ---
(In reply to comment #5)
> (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] [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?

Yes. Generally, the user would hear "A long description" immediately and then followed by a pause and hear "Title" if we follow these guidelines we're talking about

It would be similar to

<a href="#" aria-label="LABEL" title="TITLE">

You'd hear "LABEL" pause "TITLE"

-- 
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