From c29b1084b3cc61e0c1ce779ef696155523ef390c Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Thu, 21 Oct 2021 12:51:54 -0500 Subject: [PATCH] Add title to embed subscribe iframe --- layouts-eleventy/default.11ty.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts-eleventy/default.11ty.js b/layouts-eleventy/default.11ty.js index eb4d08e..8ab8917 100644 --- a/layouts-eleventy/default.11ty.js +++ b/layouts-eleventy/default.11ty.js @@ -81,7 +81,8 @@ const cleanNuxtLayout = ( layout ) => { subscribeEmbed.setAttribute('data-src', '/embed-subscribe') // https://web.dev/iframe-lazy-loading/ subscribeEmbed.setAttribute('loading', 'lazy') - subscribeEmbed.classList.add('lazyload') //.setAttribute('loading', 'lazy') + subscribeEmbed.setAttribute('title', 'Get email updates') + subscribeEmbed.classList.add('lazyload') subscribeEmbed.style.width = '350px' subscribeEmbed.style.height = '150px'