WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: SVG graphics best practise of hiding content.


From: Birkir R. Gunnarsson
Date: Feb 21, 2020 10:14AM

From a "spectical" point of view (i.e. according to the SVG spec) n
<svg> element without a <title> <desc> or <text> is decortive, no
hiding required.
role="presentation" and tabindex="-1" was recommended as a fix for
Ie11 (that is no longe updated).
Obviously none of this works if the SVG element is focusable (in which
case it should not be hidden).

On 2/20/20, Murphy, Sean < <EMAIL REMOVED> > wrote:
> All,
> What is the best practise for hiding SVG content. Currently aria-hidden is
> being used. Any other methods?
> Sean
> > > > >

Work hard. Have fun. Make history.