Skip to content

Autofocus search input on the landing page

Jacob O'Toole requested to merge jot/archmanweb:search-autofocus into master

It's common that, after landing on man.archlinux.org, the first action is to make a search query.

I think it would be nice if the search input was automatically focused. I don't believe this has a detrimental impact for users intending on doing something else on the landing page.

  • I personally use Vimium for navigation, so the autofocus would require an extra keypress to navigate elsewhere, however I believe it's more common for a search query to be the first action.
  • For users using a mouse, this makes no difference.
  • For users with other accessibility tools, the search box is before the main navigation links, so shouldn't have a major effect.

Merge request reports

Loading