Detect hidden keyboard traps in pause overlays
The practical problem
Focus can become trapped on a game canvas or escape behind a modal, preventing users from reaching Cancel or Resume.
Implementation protocol
Use proper modal semantics, focus management, Escape handling and a visible exit. Respect Tab movement instead of overriding it globally.
Worked scenario
Open Pause, Tab through controls, activate Resume, and return to the previously selected puzzle mirror without touching a mouse.
What could go wrong
Hidden dialog controls must not remain in the keyboard sequence.
Acceptance criteria
Verify native keyboard and assistive technology paths on every screen.
Source material and evidence boundaries
For the topic Detect hidden keyboard traps in pause overlays, use the sources listed below to check relevant methods. Any worked figures illustrate a scenario, not measured MojPlayWin performance. Consult the shared evidence standards before applying the method.