E-mail List Archives
Re: Screenreader Combo Failing aria-labelledby
From: Birkir R. Gunnarsson
Date: May 6, 2021 8:17AM
- Next message: Mark Magennis: "Re: [EXTERNAL] Tables with clickable rows"
- Previous message: Birkir R. Gunnarsson: "How long does it take to caption/transcribe videos with a desktop solution (and which would you recommend)"
- Next message in Thread: None
- Previous message in Thread: Aditya: "Re: Screenreader Combo Failing aria-labelledby"
- View all messages in this Thread
I rarely recommend using aria-labelledby for alt text of images, not
for technical complexity but for the nature of the image.
If the alt text of the image can be assigned based on visible text of
another element on the page, the image typically doesn't add any
information to the page.
This means that either the image should be decorative or that the text
of the aria-labelledby element is insufficient as a text equivalent
for the image.
I'd rather mark all images as decorative by default and include strict
authoring requirements in the CMS (+ authoring training) to remind
people to add alt text where needed.
On 5/5/21, Aditya via WebAIM-Forum < <EMAIL REMOVED> > wrote:
> Im using aria-label instead of alt and role=img where ever svg is involved.
> Either <svg> or src is svg
>
> That's working for me.
>
> Sent from my iPhone
>
>> On May 5, 2021, at 10:48 AM, Patrick H. Lauke < <EMAIL REMOVED> >
>> wrote:
>>
>>> On 05/05/2021 16:44, <EMAIL REMOVED> wrote:
>>> Are there any issues with inserting an SVG file as the source of an <img>
>>> and putting alt text on the image?
>>
>> Last time I checked, VoiceOver will suddenly decide that the <img> is not
>> an image anymore and not announce the alt text, unless you then backfill
>> it with an explicit role="img"
>>
>> <img role="img" src="foo.svg" alt="blah">
>>
>> 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
>> >> >> >> >
> > > > >
--
Work hard. Have fun. Make history.
- Next message: Mark Magennis: "Re: [EXTERNAL] Tables with clickable rows"
- Previous message: Birkir R. Gunnarsson: "How long does it take to caption/transcribe videos with a desktop solution (and which would you recommend)"
- Next message in Thread: None
- Previous message in Thread: Aditya: "Re: Screenreader Combo Failing aria-labelledby"
- View all messages in this Thread