From c3256d61c002a984ab3e644e922b0fdc052519d8 Mon Sep 17 00:00:00 2001 From: krille Date: Wed, 10 Oct 2018 10:32:07 +0200 Subject: [PATCH] Add an empty alt attribute to the blur image to satisfy a11y recommendations --- plugins/blur-up/ls.blur-up.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/blur-up/ls.blur-up.js b/plugins/blur-up/ls.blur-up.js index 7537ea89..dc9c0ef2 100644 --- a/plugins/blur-up/ls.blur-up.js +++ b/plugins/blur-up/ls.blur-up.js @@ -71,6 +71,7 @@ blurImg.className = 'ls-blur-up-img'; blurImg.src = src; + blurImg.alt = ''; blurImg.className += ' ls-inview';