diff --git a/src/components/accordion/__snapshots__/accordion.test.tsx.snap b/src/components/accordion/__snapshots__/accordion.test.tsx.snap index 460bc19f21f..94a560bdfc6 100644 --- a/src/components/accordion/__snapshots__/accordion.test.tsx.snap +++ b/src/components/accordion/__snapshots__/accordion.test.tsx.snap @@ -41,7 +41,6 @@ exports[`EuiAccordion behavior closes when clicked twice 1`] = ` inert="" role="group" style="block-size: 0;" - tabindex="-1" >
{ expect(onToggleHandler).toBeCalled(); expect(onToggleHandler).toBeCalledWith(false); }); - - it('moves focus to the content when expanded', () => { - const component = mount(); - const childWrapper = component.find('div[role="group"]').getDOMNode(); - - expect(childWrapper).not.toBeFalsy(); - expect(childWrapper).not.toBe(document.activeElement); - - // click the button - component.find('button').at(0).simulate('click'); - - expect(childWrapper).toBe(document.activeElement); - }); }); }); diff --git a/src/components/collapsible_nav/collapsible_nav_group/__snapshots__/collapsible_nav_group.test.tsx.snap b/src/components/collapsible_nav/collapsible_nav_group/__snapshots__/collapsible_nav_group.test.tsx.snap index d60f9fd81de..7f6277f2a14 100644 --- a/src/components/collapsible_nav/collapsible_nav_group/__snapshots__/collapsible_nav_group.test.tsx.snap +++ b/src/components/collapsible_nav/collapsible_nav_group/__snapshots__/collapsible_nav_group.test.tsx.snap @@ -256,7 +256,6 @@ exports[`EuiCollapsibleNavGroup when isCollapsible is true accepts accordion pro inert="" role="group" style="block-size: 0;" - tabindex="-1" >