ryersondmp / sa11y

Sa11y is an accessibility quality assurance tool that visually highlights common accessibility and usability issues. Geared towards content authors, Sa11y straightforwardly identifies errors or warnings at the source with a simple tooltip on how to fix them.
https://sa11y.netlify.app
Other
280 stars 43 forks source link

Implement lazy loading for images in the Skip-to-Issue preview/HTML report #69

Closed adamchaboryk closed 7 months ago

adamchaboryk commented 8 months ago

To-do:

Improve generateElementPreview() to account for lazy loaded images that use data-src attribute.

data-src attribute is often used when lazy loading to prevent the default image from loading when the page loads. E.g. <img data-src="unicorn.jpg" alt="…" loading="lazy">

Example website: https://www.yorku.ca/

adamchaboryk commented 7 months ago

Fixed in 3.0.7