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(() => {