2.1.2 No Keyboard Trap
Make it easier for users to see and hear content including separating foreground from background.

About

Ensure the keyboard can be used to control or dismiss dialogue boxes, popups or other windows since people with disabilities can only use a keyboard to control a webpage.

Example:

Before Rectification

image without dismiss dialogue box.

After Rectification

image with dismiss dialogue box.