ally on notification bar

This commit is contained in:
Kyle Spearrin 2019-10-09 10:12:06 -04:00
parent 60f6863e4f
commit 3e1e05ab4f
3 changed files with 3 additions and 1 deletions

View File

@ -517,6 +517,7 @@ document.addEventListener('DOMContentLoaded', (event) => {
iframe.id = 'bit-notification-bar-iframe';
const frameDiv = document.createElement('div');
frameDiv.setAttribute('aria-live', 'polite');
frameDiv.id = 'bit-notification-bar';
frameDiv.style.cssText = 'height: 42px; width: 100%; top: 0; left: 0; padding: 0; position: fixed; ' +
'z-index: 2147483647; visibility: visible;';

View File

@ -9,7 +9,7 @@
<tbody>
<tr>
<td width="24">
<a href="https://vault.bitwarden.com" target="_blank" id="logo-link">
<a href="https://vault.bitwarden.com" target="_blank" id="logo-link" aria-hidden="true">
<img id="logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAclBMVEUAAAAzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzOkbymMAAAAJXRSTlMAAQIICQsMGBkaKkJYWWl0dXeMjpWXm6WmtcXM0dPr7fH3+fv9KIjKuwAAAIRJREFUKM/dzUkCgkAMBdHfCArOIypBW4S6/xVdNCqDJ7BWSd4iknKG5ZIkMW4AdzMzs+cI1mG3f4N6ADfqMJR9cFAG2PVhDtsAWQ8igyyAzl3Yw6W9K/YfcAfw8RuUVS1MrlCl+pZ6gM3iAX6mbknR/ikS9XOrBmiWTqOmR05T/SzqLi/Z3CbrA3nnNwAAAABJRU5ErkJggg==" />
</a>
</td>

View File

@ -40,6 +40,7 @@ document.addEventListener('DOMContentLoaded', () => {
document.getElementById('logo-link').title = i18n.appName;
closeButton.title = i18n.close;
closeButton.setAttribute('aria-label', i18n.close);
if (bodyRect.width < 768) {
document.querySelector('#template-add .add-save').textContent = i18n.yes;