Logging in with the Keyboard

The standard login form is everywhere. It's unavoidable. And it's a giant pain in the butt.

standard login form

As much as we see login forms every day, you'd think we would have mastered them by now. Unfortunately, we haven't. Here's what I've observed users doing, over and over again:

  1. Move the mouse to the username field.
  2. Click the mouse button.
  3. Type a username.
  4. Move the mouse to the password field.
  5. Click the mouse button.
  6. Type a password.
  7. Move the mouse to the login button.
  8. Click the mouse button.

Every time I watch someone do this, a little part of me dies inside. And I see it all the time.

I'm not just talking about casual users like our parents. I'm talking about our fellow software developers, and other users who work with the computer for most of the day. People who really should know better.

What kills me about this is all the needless, painful transitions between the mouse and the keyboard. Your fingers are already on the keyboard while you're typing-- just add a little Tab and Enter to the mix! I'm no keyboard Nazi. All I want is to save users a few precious seconds as they slog through the endless logins during their work day. And it's so darn easy, too:

  1. Type a username.
  2. Press the Tab key.
  3. Type a password.
  4. Press the Enter key.

See? Wasn't that nice?* Now it's your turn to play Keyboard Appleseed and spread the word so your fellow coworkers can spend less time logging in-- and more time getting actual work done.

* Although this is the accepted standard behavior for login forms, it is possible for incompetent developers to screw this up. But that advice doesn't apply to the developers reading this blog.. right?

Related posts

Usability On The Cheap and Easy

Writing code? That's the easy part. Getting your application in the hands of users [https://blog.codinghorror.com/shipping-isnt-enough/], and creating applications that people actually want to use [https://blog.codinghorror.com/youll-never-have-enough-cheese/] — now that's the hard stuff. I've been a long time fan

By Jeff Atwood ·
Comments

The Opposite of Fitts' Law

If you've ever wrangled a user interface, you've probably heard of Fitts' Law. It's pretty simple – the larger an item is, and the closer it is to your cursor, the easier it is to click on. Kevin Hale put together a great visual

By Jeff Atwood ·
Comments

Revisiting "The Fold"

After I posted my blog entry on Treating User Myopia I got a lot of advice. Some useful, some not so useful. But the one bit of advice I hadn't anticipated was that we were not making good use of the area "above the fold". This

By Jeff Atwood ·
Comments

Treating User Myopia

I try not to talk too much about the trilogy here, because there's a whole other blog for that stuff. But some of the lessons I've learned in the last year while working on them really put into bold relief some of my earlier blog entries

By Jeff Atwood ·
Comments

Recent Posts

Stay Gold, America

Stay Gold, America

We are at an unprecedented point in American history, and I'm concerned we may lose sight of the American Dream.

By Jeff Atwood ·
Comments
The Great Filter Comes For Us All

The Great Filter Comes For Us All

With a 13 billion year head start on evolution, why haven’t any other forms of life in the universe contacted us by now? (Arrival is a fantastic movie. Watch it, but don’t stop there – read the Story of Your Life novella it was based on for so much

By Jeff Atwood ·
Comments
I Fight For The Users

I Fight For The Users

If you haven’t been able to keep up with my blistering pace of one blog post per year, I don’t blame you. There’s a lot going on right now. It’s a busy time. But let’s pause and take a moment to celebrate that Elon Musk

By Jeff Atwood ·
Comments
The 2030 Self-Driving Car Bet

The 2030 Self-Driving Car Bet

It’s my honor to announce that John Carmack and I have initiated a friendly bet of $10,000* to the 501(c)(3) charity of the winner’s choice: By January 1st, 2030, completely autonomous self-driving cars meeting SAE J3016 level 5 will be commercially available for passenger use

By Jeff Atwood ·
Comments