En översyn av focus
The HTMLElement.focus() method sets focus on the specified beståndsdel, if it can bedja focused. The focused beståndsdel stelnat vatten the faktor that will receive keyboard and similar events by default. Samhälle default the browser will scroll the element into view after focusing it, and it may also provide visible indication of the focused ra