E-mail List Archives
Re: SVG graphics best practise of hiding content.
From: Birkir R. Gunnarsson
Date: Feb 21, 2020 4:39PM
- Next message: Micky Hulse: "Re: CSS background image: MS A11y Insights for Web question"
- Previous message: Micky Hulse: "CSS background image: MS A11y Insights for Web question"
- Next message in Thread: None
- Previous message in Thread: Jonathan Avila: "Re: SVG graphics best practise of hiding content."
- View all messages in this Thread
That's the cool thing about this list, you never stop learning.
Thanks Jonathan
On 2/21/20, Jonathan Avila < <EMAIL REMOVED> > wrote:
> Hi Birkir, regarding SVG elements -- the SVG API Mappings document indicates
> they must be part of the accessiblity tree when certain situations are
> included https://w3c.github.io/svg-aam/#include_elements and also excluded
> when certain situations occur -- but it's not clear that user agents mut
> mark them decorative. So I find this actually to be a very complex topic
> I've dropped some standard SVG elements into Chrome and Chrome seems to show
> an svg with circle inside as SVG root for the SVG and ignored for the
> circle. So Chrome seems to include SVGs which have a graphics-document
> implied role as being in the tree and correctly ignore the circle element.
> So I'd say it's safer to mark the SVG explicitly as role presentation or
> aria-hidden if decorative.
>
> Jonathan
>
>
- Next message: Micky Hulse: "Re: CSS background image: MS A11y Insights for Web question"
- Previous message: Micky Hulse: "CSS background image: MS A11y Insights for Web question"
- Next message in Thread: None
- Previous message in Thread: Jonathan Avila: "Re: SVG graphics best practise of hiding content."
- View all messages in this Thread