Autofocus is only applied on page load and only one element in the DOM should have it (which in our case should be the search (on the frontpage)).