Popups

Popups are not a good user experience for keyboard-only/screen reader users and as a rule of thumb we should steer away from using them.

When a popup appears it does not have keyboard focus which means that keyboard only/screen reader users are unable to tab to the content within the popup. Screen reader and keyboard-only users can easily become distracted and disoriented. 

Modal Windows

If there is no other solution than a popup use a modal window. It must be programmed in a way that allows for the following.