WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: [External Sender] SVG accessibility

for

From: Patrick H. Lauke
Date: Jul 15, 2020 7:22AM


On 15/07/2020 13:03, Graham Armfield wrote:
> Re whether role="img" is required...
>
> Some time ago I created a test page that has two SVG images in it that are
> pulled from SVG files using the <img> element. They both have an alt
> attribute set, but only one has role="img".
>
> I've just tried using Voiceover on an iPhone 8 on iOS 13.3 and it
> completely ignores the image without the role="img".
>
> On my Android phone both images are announced by Talkback.
>
> The test page is at https://research.coolfields.co.uk/svg/svg-file-alt.html

It's a long-standing VoiceOver bug
https://bugs.webkit.org/show_bug.cgi?id=187695

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