Popups
Popups are not a good user experience for keyboard-only users and screen reader users and as a rule of thumb should be avoided.
...
New windows should not automatically be launched, and change context, when a component receives focus.
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.
...