From 6fd361a35162900935a4c5b16d0d6a3b898e1962 Mon Sep 17 00:00:00 2001 From: Ned Zimmerman Date: Thu, 10 Sep 2020 10:48:48 -0300 Subject: [PATCH] feat: blur images with missing or unhelpful alt tags (resolves #389) (#390) --- src/scss/layout/_layout.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/scss/layout/_layout.scss b/src/scss/layout/_layout.scss index 14cd19533..b1b2faa17 100644 --- a/src/scss/layout/_layout.scss +++ b/src/scss/layout/_layout.scss @@ -113,6 +113,13 @@ article { audio { max-width: 100%; } + + // Blur imags which are missing alt tags altogether + // or whose alt tags begin with "This image has an empty alt attribute" + img:not([alt]), + img[alt^="This image has an empty alt attribute"] { + filter: blur(10px); + } } video {