mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
Set image alt-text of notification close-button
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<div id="content"></div>
|
||||
<div>
|
||||
<button type="button" class="neutral" id="close-button">
|
||||
<img id="close" alt="X" />
|
||||
<img id="close" alt="Close" />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user