2.1.2 No Keyboard Trap (Level A)

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.
Image without dismiss dialogue box

After Rectification

image with dismiss dialogue box.
Image with dismiss dialogue box