WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Initial focus on search field?

for

From: Jukka K. Korpela
Date: Sep 22, 2014 2:06PM


Om 2014-09-22 22:43, <EMAIL REMOVED> wrote:

> Please don't set the focus to the search field. The only circumstances
> under which it is good practice to set the focus to the search field it
> if there is absolutely nothing else that a keyboard or screen reader
> user might want to do on that page.

I couldn’t agree more. But if ypu really have page *for* a site-wide
search only, then <input type=search autofocus ...> might make sense.

Yucca