Unfortunately, there is some disagreement between the various browsers, and different versions of the same browser, as to how the focus can be set. The tag provides a quick and easy JavaScript that will set the focus on a form for most versions of most browsers. If this feature doesn’t work for you, then you should set the focus using your own JavaScript. The focus feature is a convenient “value-add” — not a core requirement of the tag. If you do come up with a JavaScript that provides the final solution to this project, please post your patch to this JIRA ticket. Another approach is to use a separate JavaScript that automatically focusses the first enabled field on the first form on a page. See the article Set Focus to First Input on Web Page for a working example that you can use in your own applications.