From d3c946062801efb17d094dea4f24e20f11b4f6cc Mon Sep 17 00:00:00 2001 From: Joe Whitsitt Date: Fri, 10 Jan 2025 13:50:10 -0600 Subject: [PATCH] tweaks to make the bots happy --- src/assets/js/accordion.js | 4 ---- src/components/accordion/Accordion.vue | 6 ++---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/assets/js/accordion.js b/src/assets/js/accordion.js index 2d71438bf1..8140e40aed 100644 --- a/src/assets/js/accordion.js +++ b/src/assets/js/accordion.js @@ -46,10 +46,6 @@ class Accordion { */ toggleAccordionItem(accordionItem, isOpening) { - // Set the relevant attributes for 'accordion' based on 'open'. - accordionItem.setAttribute('aria-expanded', isOpening); - accordionItem.setAttribute('aria-selected', isOpening); - // Check if the accordion was clicked. const clicked = accordionItem.getAttribute('data-accordion-clicked'); if (clicked) { diff --git a/src/components/accordion/Accordion.vue b/src/components/accordion/Accordion.vue index a05f82017c..4fa8e7c595 100644 --- a/src/components/accordion/Accordion.vue +++ b/src/components/accordion/Accordion.vue @@ -47,19 +47,18 @@ onMounted(() => {

@@ -70,7 +69,6 @@ onMounted(() => {