WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: methods to incorporaate svg

for

From: James Nurthen
Date: May 20, 2016 9:44AM


> Are there good reasons to use inline svg nevertheless (in one or both
> cases)?
>
> If you're using the SVG as a simple static graphics format, then it's ok
> to pull it in using the <img> element. If you use SVG to present more
> structured content (where it's important for other roles and states to be
> recognised within the SVG), then for the time being it needs to be used
> inline within the HTML.
>

Inline SVG also gives you the ability to style it using CSS. This can be
another important consideration.


>
>
> HTH
> LĂ©onie.
>
> --
> @LeonieWatson tink.uk Carpe diem
>
>
>
> > > > >