Keyboard traps often occur on carousels or other elements. It has to be possible to escape with only a keyboard.
Let the mouse fall into the trap. Then you’ll see your goal. Try to move on with the keyboard.

Problem
In Barrieria, we use the keyboard for everything. But in your world, the mouse is often the only supported input device, and that can be a real problem for some people. Imagine not being able to use a website simply because you can’t use a mouse.
Keyboard traps are a particularly annoying problem. You get stuck and can’t get away from the element, such as a carousel. Make sure that doesn’t happen on your website.
Barriers
Keyboard Trap
Make sure you can navigate away from each element using only the keyboard. This can be problematic with carousels or popup notices.
Focus
Use visible focus indicators to show which element is active.