See below comment regarding the name `activeElement`.