From ed2b7dc18791fa666b634e50e0501912137032c1 Mon Sep 17 00:00:00 2001 From: loganscharen <61216565+loganscharen@users.noreply.github.com> Date: Fri, 8 Mar 2024 10:04:31 -0600 Subject: [PATCH] Added test for tabbing with radio as last element --- specs/Modal.events.spec.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/specs/Modal.events.spec.js b/specs/Modal.events.spec.js index 8c9d5f2b..a6376707 100644 --- a/specs/Modal.events.spec.js +++ b/specs/Modal.events.spec.js @@ -128,6 +128,26 @@ export default () => { }); }); + it("traps tab in the modal on tab with radio button as last element", () => { + const topButton = ; + const radio1 = ; + const radio2 = ; + const modalContent = ( +