D
D
Dymok2018-04-03 03:09:54
JavaScript
Dymok, 2018-04-03 03:09:54

Accessibility when using lazy-load?

Actually, the essence of the question is in the title. Is there a way to properly display images that have an attribute like data-src instead of a src attribute for lazy loading? And is it even worth bothering with it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zvezdocheteg, 2018-04-03
@Zvezdocheteg

If you need to add accessibility for a "tick", then you should not bother. And if most of your users use readers, then it's worth it.
And so I would refer to this answer: https://stackoverflow.com/questions/3670570/gettin...
That is, adding an attribute to the image should solve the problem, but you need to test it. <img aria-live="assertive" ... />

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question