From bba5f4b4380598df51e723e683c7be8e158d6012 Mon Sep 17 00:00:00 2001 From: CountNick Date: Mon, 29 Jul 2024 17:51:59 +0200 Subject: [PATCH] Updat aria attributes --- src/cookie-consent.mjs | 11 ++++------- src/dialog-tablist.mjs | 7 ++++--- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/cookie-consent.mjs b/src/cookie-consent.mjs index 2ffe0cd..742780b 100644 --- a/src/cookie-consent.mjs +++ b/src/cookie-consent.mjs @@ -71,8 +71,7 @@ export default class Dialog extends HTMLElement { saveButtonText: Config().get("labels.aria.button"), defaultButtonLabel: Config().get("labels.button.default"), acceptAllButton: - Config().get("acceptAllButton") - && !Preferences().hasPreferences(), + Config().get("acceptAllButton") && !Preferences().hasPreferences(), }; // custom content from data-attributes const customContent = { @@ -122,10 +121,10 @@ export default class Dialog extends HTMLElement { this.tabList.init(); const template = ` -