From 715bd368f4d909ab0ac32ef09c7805ec716b345d Mon Sep 17 00:00:00 2001 From: Pranav Raj S Date: Fri, 4 Sep 2020 19:13:22 +0530 Subject: [PATCH] chore: Add alt for bubble icon (#1200) --- app/javascript/sdk/bubbleHelpers.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/sdk/bubbleHelpers.js b/app/javascript/sdk/bubbleHelpers.js index a97739436..fe7b7c078 100644 --- a/app/javascript/sdk/bubbleHelpers.js +++ b/app/javascript/sdk/bubbleHelpers.js @@ -28,6 +28,7 @@ export const createBubbleIcon = ({ className, src, target }) => { let bubbleClassName = `${className} woot-elements--${window.$chatwoot.position}`; const bubbleIcon = document.createElement('img'); bubbleIcon.src = src; + bubbleIcon.alt = 'bubble-icon'; target.appendChild(bubbleIcon); if (isExpandedView(window.$chatwoot.type)) {