Users who use a keyboard or similar tool need to be able to navigate through all of the interactive elements on a page in order to reach elements lower down. Bringing focus to an element does not signal that a user wants to interact with it, it can mean they are simply navigating through it. Because of that moving focus or changing something on the page when an element gains focus can lead to unexpected and unintentional results.

WCAG 3.2.1: On Focus Opens in a new window

Details

  • Focus is not moved automatically when an element gains focus.
  • Content on the page does not change when an element gains focus.