Skip to content
Snippets Groups Projects
Unverified Commit 334c896b authored by Johan Smits's avatar Johan Smits
Browse files

Add aria label for the start button. Lighthouse suggestion.

parent cae8e989
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,7 @@ export function loadStartButton() {
function createStartButton() {
const button = document.createElement("button");
button.className = "start-chat-btn";
button.setAttribute('aria-label', 'Start chat');
button.onclick = () => (window as any).isIframeLoaded? toggleIframe() : loadIframe();
button.appendChild(createNotificationBadge());
return button;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment