DEV Community

Discussion on: Fix 85% of your Web Accessibility issues in 5 easy steps

Collapse
 
vuild profile image
Vuild • Edited

Mr Simpsons*

Great article, useful info well laid out & really covers a lot of the core issues.

I just started using the < picture > tag a lot more, does the same accessibility apply as img?

*check out his amazing CSS Simpsons on GitHub. :)

Collapse
 
alvaromontoro profile image
Alvaro Montoro • Edited

Thanks for the comment!

What tag are you using? (It doesn't display it)

Collapse
 
vuild profile image
Vuild

Picture

Thread Thread
 
alvaromontoro profile image
Alvaro Montoro • Edited

The <picture> should have a fallback <img> anyway.

One accessibility issue could happen if the image is not the same, because the alt that the screen reader will read is the one from the <img>. So if for any reason the images in the <source> don't match the one from the <img>, it could be confusing/misleading.

Thread Thread
 
vuild profile image
Vuild

That's the answer I need. Thank you. 👍

Collapse
 
alvaromontoro profile image
Alvaro Montoro

Maybe my next post should be about how to draw Homer Simpson with HTML+CSS :)

Collapse
 
vuild profile image
Vuild

Yes, why not.

But maybe Guernica in CSS. 😳

Collapse
 
samuraiseoul profile image
Sophie The Lionhart

Not OP but I think you may have forgotten a word! Which tag did you start using a lot more?

Collapse
 
vuild profile image
Vuild

Fixed, thanks Scott.