Many sites have autofocus on the search input field (take the same Yandex).
When the page loads, the cursor enters the text entry field. Is it always good?
The digression that is needed before reading the text:
Sometimes I work (or rather do not work, but wander through the Internet) on a laptop without a mouse. With the mouse wheel, these problems do not arise, but I think that I am not the only one who sometimes wants to sit down with a computer on a comfortable sofa. The space button in this case is the most convenient way to scroll ...')
Autofocus on the search field looks very convenient while the page contains only a text field (google.com, ya.ru). When it comes to slightly larger pages, which often do not fit into the first screen - these pages turn into portals, visiting them sometimes serves as a link to other links (for example, on Yandex: weather, money, direct, studio swan). On my monitor (a little more than 1024) the “money”, “direct”, “studio of the swan” goes to the second screen, it is necessary to scroll. And here the most interesting begins: keyboard scrolling does not work! I press the down arrow - my previous search results are displayed to me. I press the spacebar - the second screen should appear, but instead I have a space in the input field.
But this is nothing. Starting Yandex all the same search. But there are other pages: I click on one of the Today in Blogs links - again focus on the text field! And what is the result? In order to scroll the page from the keyboard, I have to click the mouse on the place where there is no link - and then scroll (the main thing is to do it after the page loads, otherwise the focus will return to the input field again).
UPD: this article was not written to find a solution to the problem, but to let the developer of simple and not very popular systems think again: does autofocus on the text field really need on this page?