New window launched when component receives focus

Link to New window launched when component receives focus copied to clipboard

focus-window-launches

Rule

Focusing on an element MUST NOT cause a new window to open and gain focus.

Background

When a major change of context occurs - such as a opening a new window, moving focus to another element, a submitting a form - while a keyboard user is tabbing through a page, they may become quite disoriented or, much worse, they may be completely blocked from using the content. Any component that is able to trigger an event when it receives focus must not change the user's context. This will ensure that keyboard users can successfully navigate their way through a page in a predictable manner.

How to Fix

Fix this issue by ensuring that focusing an element on a page does not cause a new window to open and gain focus.