Open
Description
Summary:
Steps to reproduce:
- Create a modal with more than one tabbable elements
- Set tabIndex="-1" to the last tabbable element, and focus it programatically
- Hit tab one more time, and focus will go to an element outside of the modal
Expected behavior:
The focus should return back to the first tabbable element in the modal