WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Screenreader Combo Failing aria-labelledby

for

From: Patrick H. Lauke
Date: May 5, 2021 5:16AM


On 05/05/2021 12:12, Birkir R. Gunnarsson wrote:
> How does just using the <title> element of the SVG work? That is the
> native way to provide text alternatives for SVG images (we've ditched
> them in favor of ARIA trickery due to lack of browser/screen reader
> support but I thought this was improving).

The issue with <title> in the <svg> is that in most (all?) browsers,
this also leads to a classic tooltip (like for the title="..."
attribute) when hovering over with the mouse, which most of the time is
undesirable.

P
--
Patrick H. Lauke

https://www.splintered.co.uk/ | https://github.com/patrickhlauke
https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
twitter: @patrick_h_lauke | skype: patrick_h_lauke