From 9f811fe00edf9af79814954ff08bf5366bb898ab Mon Sep 17 00:00:00 2001 From: 1Copenut Date: Wed, 5 Apr 2023 11:56:17 -0500 Subject: [PATCH 1/7] Fixed a bug in `EuiAccordion` aria-expanded for axe. * Added logic check for EuiAccordion aria-expanded attr. * Adding comment for new logic reasoning. --- .../__snapshots__/accordion.test.tsx.snap | 16 ---------------- src/components/accordion/accordion.tsx | 7 ++++++- .../collapsible_nav_group.test.tsx.snap | 2 -- .../notification_event.test.tsx.snap | 1 - 4 files changed, 6 insertions(+), 20 deletions(-) diff --git a/src/components/accordion/__snapshots__/accordion.test.tsx.snap b/src/components/accordion/__snapshots__/accordion.test.tsx.snap index 6828e9415a6..e716e127cf3 100644 --- a/src/components/accordion/__snapshots__/accordion.test.tsx.snap +++ b/src/components/accordion/__snapshots__/accordion.test.tsx.snap @@ -24,7 +24,6 @@ exports[`EuiAccordion behavior closes when clicked twice 1`] = `