-
+
-
+
-
+
-
+
-
+
diff --git a/containers/libreportal/frontend/components/backup/configuration/js/backup-retention-presets.js b/containers/libreportal/frontend/components/backup/configuration/js/backup-retention-presets.js
index 03bad93..a0b12d2 100644
--- a/containers/libreportal/frontend/components/backup/configuration/js/backup-retention-presets.js
+++ b/containers/libreportal/frontend/components/backup/configuration/js/backup-retention-presets.js
@@ -50,7 +50,7 @@ Object.assign(BackupPage.prototype, {
block.className = 'backup-retention-preset-block';
block.innerHTML = `
`;
@@ -75,7 +75,11 @@ Object.assign(BackupPage.prototype, {
const tooltipEl = block.querySelector('[data-retention-tooltip]');
select.addEventListener('change', () => {
const chosen = select.value;
- if (tooltipEl) tooltipEl.title = BACKUP_RETENTION_PRESET_META[chosen]?.hint || '';
+ if (tooltipEl) {
+ const hint = BACKUP_RETENTION_PRESET_META[chosen]?.hint || '';
+ tooltipEl.dataset.tip = hint;
+ tooltipEl.setAttribute('aria-label', hint);
+ }
applyVisibility(chosen);
if (chosen === 'custom') return;
const p = BACKUP_RETENTION_PRESETS[chosen];
@@ -106,7 +110,11 @@ Object.assign(BackupPage.prototype, {
const allowInherit = block.dataset.retentionAllowInherit === '1';
const preset = selectEl.value;
const tooltipEl = block.querySelector('[data-retention-tooltip]');
- if (tooltipEl) tooltipEl.title = BACKUP_RETENTION_PRESET_META[preset]?.hint || '';
+ if (tooltipEl) {
+ const hint = BACKUP_RETENTION_PRESET_META[preset]?.hint || '';
+ tooltipEl.dataset.tip = hint;
+ tooltipEl.setAttribute('aria-label', hint);
+ }
if (preset === 'custom') {
if (advanced) advanced.hidden = false;
diff --git a/containers/libreportal/frontend/components/backup/core/html/backup-content.html b/containers/libreportal/frontend/components/backup/core/html/backup-content.html
index 31eec4d..39a5ea6 100644
--- a/containers/libreportal/frontend/components/backup/core/html/backup-content.html
+++ b/containers/libreportal/frontend/components/backup/core/html/backup-content.html
@@ -27,7 +27,7 @@