From beb6b26f158716874ba87845f5da85f6973ab94e Mon Sep 17 00:00:00 2001 From: Daniel James Smith Date: Wed, 13 Oct 2021 22:31:57 +0200 Subject: [PATCH] Set image alt-text of notification close-button --- src/notification/bar.html | 2 +- src/notification/bar.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/notification/bar.html b/src/notification/bar.html index 5c82a4e4d3..5e8962c1a5 100644 --- a/src/notification/bar.html +++ b/src/notification/bar.html @@ -16,7 +16,7 @@
diff --git a/src/notification/bar.js b/src/notification/bar.js index 318207de36..4cad508a05 100644 --- a/src/notification/bar.js +++ b/src/notification/bar.js @@ -26,6 +26,7 @@ document.addEventListener('DOMContentLoaded', () => { : chrome.runtime.getURL('images/icon38.png'); document.getElementById('close').src = chrome.runtime.getURL('images/close.png'); + document.getElementById('close').alt = i18n.close; var closeButton = document.getElementById('close-button'), body = document.querySelector('body'),