diff --git a/src/renderer-locale-de.ts b/src/renderer-locale-de.ts index 57fce82..3ff2bae 100644 --- a/src/renderer-locale-de.ts +++ b/src/renderer-locale-de.ts @@ -65,6 +65,7 @@ const UI_TEXT_DE = { storageColumnTotal: 'Gesamt', storageColumnLive: 'Live', storageColumnChat: 'Chat', + storageColumnActionsAria: 'Aktionen', storageOpen: 'Oeffnen', storageOtherFolders: 'Andere Ordner im Download-Pfad', cleanupTitle: 'Auto-Cleanup', diff --git a/src/renderer-locale-en.ts b/src/renderer-locale-en.ts index f8640c6..536f02c 100644 --- a/src/renderer-locale-en.ts +++ b/src/renderer-locale-en.ts @@ -65,6 +65,7 @@ const UI_TEXT_EN = { storageColumnTotal: 'Total', storageColumnLive: 'Live', storageColumnChat: 'Chat', + storageColumnActionsAria: 'Actions', storageOpen: 'Open', storageOtherFolders: 'Other folders in download path', cleanupTitle: 'Auto-cleanup', diff --git a/src/renderer-settings.ts b/src/renderer-settings.ts index eeb7b70..304dacd 100644 --- a/src/renderer-settings.ts +++ b/src/renderer-settings.ts @@ -366,7 +366,12 @@ function renderStorageStats(stats: StorageStatsResult): void { ]; for (const h of headers) { const th = document.createElement('th'); - th.textContent = h; + th.scope = 'col'; + if (h) { + th.textContent = h; + } else { + th.setAttribute('aria-label', UI_TEXT.static.storageColumnActionsAria); + } headRow.appendChild(th); } thead.appendChild(headRow);