15

Forms with autofocus. What are your opinions on that?

My boss keeps asking us to always give autofocus to the first input of a form, without any UX study to support it, just his opinion ("I think it makes sense"). I fucking hate it. He says it's nice for keyboard users, but I'm a keyboard user myself and I say that's what the tab key is for. To fucking focus stuff.

It really annoys me to no end when things like this are requested, but it's ok to have buttons, checkboxes, etc without fucking :focus and :active styles. Just :hover is not enough ffs.

And "links" that work with "onclick". Damn how I want to kill anyone that does that.

Comments
  • 2
    Humm depends.

    I normally only use them for webapps where the first screen a user hits is the login page with a login form and forgot password link. Then I autofocus the username.
  • 1
    @neodite @Condor yes, in those examples it makes sense.

    But my boss says "autofocus the first field in every page that has a form". That's just absurd.
  • 2
    If the pages sole purpose is the form, sure.

    If the form is just one feature on the page, like a search box or subscribe form, no!
  • 2
    I’m working on a site now where the search form his hidden behind the button. And when you click the button, the form is shown and autofocused
  • 1
    I find it fucking annoying when this is not implemented, to be honest!
Add Comment