E-mail List Archives
Re: decorative SVGs
From:
- Next message: Mark Magennis: "Invalid ARIA attribute value - is this a problem?"
- Previous message: Sonja Weckenmann: "decorative SVGs"
- Next message in Thread: None
- Previous message in Thread: Sonja Weckenmann: "decorative SVGs"
- View all messages in this Thread
On 18/06/2017 17:25, Sonja Weckenmann wrote:
> I wonder whether a decorative inline-SVG should have an
> aria-hidden="true" or role="presentation"? What would be the equivalent
> to a null alt attribut.
Use aria-hidden="true" to hide the SVG from ATs. The presentation role
will hide the svg element from the accessibility tree, but not its content.
>
> I'm not sure, if there are such use cases for decorative inline-SVGs at
> all...
SVG scales without losing visual quality, so it's a good format to use
if the image needs to respond to a responsive design and/or zoom.
--
@LeonieWatson @ <EMAIL REMOVED> tink.uk Carpe diem
- Next message: Mark Magennis: "Invalid ARIA attribute value - is this a problem?"
- Previous message: Sonja Weckenmann: "decorative SVGs"
- Next message in Thread: None
- Previous message in Thread: Sonja Weckenmann: "decorative SVGs"
- View all messages in this Thread