- From: Amelia Bellamy-Royds <amelia.bellamy.royds@gmail.com>
- Date: Mon, 4 May 2015 22:19:06 -0400
- To: lwatson@paciellogroup.com
- Cc: Fred Esch <fesch@us.ibm.com>, public-svg-a11y@w3.org
- Message-ID: <CAFDDJ7z7ea7+xautFU_8JmUbSD7XWE0fsQcTwVe2dwiDqMPE-A@mail.gmail.com>
The strategy I've been recommended (and think should go in an authoring guidance) is that to specify an accessible name for an object without generating a tooltip in visual browsers, use aria-label. Using a desc element plus aria-labelledby for a short name seems overly complicated. I suppose the only benefit of that structure would be that, as plain text content instead of an attribute, the name would be somewhat visible in older browser/tool combinations that don't support ARIA. As for Léonie's question about whether it's possible to eliminate the dual purpose of <title> (tooltip and accessible name), I think the ship has sailed on that. It would break too much existing content if <title> no longer acted as a tooltip, even though the SVG specs only suggested it as an option and tooltips are problematic on touch screens. Plus, the dual use of the title element does get more developers using it, which is usually better than no accessible content at all. Amelia BR On 4 May 2015 at 18:06, Léonie Watson <lwatson@paciellogroup.com> wrote: > *From:* Fred Esch [mailto:fesch@us.ibm.com] > *Sent:* 04 May 2015 20:18 > > Titles provide tooltips. > Should the potential tooltip be a factor in deciding whether to use title > or desc? > Obscured objects won't show a tooltip even if they have a title. Should > that play a role in choosing title and desc? > What if the author does not want a tooltip on the object? Is using a desc > OK? > Would having an aria-labeledby influence whether you use a title or desc? > > > > U p to a point. If there was no title, I think the accessible > name computation would let you use aria-labelledby to make the desc element > the accessible name for the parent svg. What if both an accessible name > (title) and accessible description (desc) were needed though? > > > > What was the reasoning behind the tooltip behaviour in the first place? I > know it’s been there s > ince the year dot, but perhaps it’s the thing we need to look at – instead > of playing with the accessibility layer? > > > > Léonie. > > > > -- > > Léonie Watson - Senior accessibility engineer, TPG > > @LeonieWatson @PacielloGroup > > > > > > >
Received on Tuesday, 5 May 2015 02:19:33 UTC