Simple UI Concept : Login Form Usability Tips

login-form In this post i’m going to deal with a simple User Interface concept in web designing. The part i’m going to deal with is Forms. More specifically Login Forms. They are found in almost every other website that you’ll come across. Also, they’re one of the most used elements of the websites that use them. Though i use “Remember me” feature on almost all the websites i use, there are people who don’t use it. For them, the login form needs to be the most usable. I’ll give you some tips on how to improve your login form’s usability. (Note : I’m not a usability expert)

KISS : The Markup

<input type="text" name="username" />
<input type="password" name="password" />
<input type="checkbox" name="remember" id="remember" /><label for="remember">Remember me</label>
<input type="submit" name="login" value="Login" />

Keep the markup as simple as possible. The above is one of the simplest markups. If you use email address for logging in, keep the input box’s names relevant like “email” “email-address” etc. Sure, names like “my-site-e” “my-site-login-field” will work. But, Google Toolbar and the like will not be able to “AutoFill” the form. This is a huge usability mistake.

Preserve The Form Order

The order of the form elements goes as above :

  1. Username/Email address box
  2. Password box
  3. Remember me checkbox (if available)
  4. Login button

Don’t insert other elements like “Forgot password ?” “Resend Activation” “?” links in between these elements. Place them after the Submit button. But, why ? The usual behaviour of users when they encounter a login form is :

  1. Enter the username/email address
  2. Hit [Tab] and type password
  3. Hit [Tab] and hit [Space] to check the Remember me box (if available)
  4. Press Enter to login

When you insert other elements in between, they’re selected by hitting tab. So, users are forced to click-focus on the next element, or hit [Tab] repeatedly. This really spoils the usability. Check out Blellow’s login form, which breaks this order. (In fact, this is what triggered me to write this post.)

AutoFocus The First Field

When you reduce the work of the user, you increase the usability. 99% of the users use the login form for logging in. So, it makes sense to automatically place the I-beam in the first input box on the login page. Examples that come to my mind are Google, Digg, Facebook. Click on the login link and the cursor will be already placed in the username field. It can be easily achieved using jQuery. Here’s how :

$(document).ready(function() {
	$("input[type='text']:first", document.forms[0]).focus();
});

The above code will focus on the first text field in the first form on the page. If you’ve some search form or other form before the login form, you’ve to adjust the index of document.forms[n] accordingly.

Hope the post was useful. As i stated previously, I’m not a usability expert. So, if you have some more tips to improve a login-form’s usability, share with us in the comments.

Upgraded From WordPress 2.6.2 to 2.8 Baker

I hadn’t upgraded from my WordPress 2.6.2 for very long. I’m sorta don’t like Upgrading wordpress at all. Today, finally i decided to upgrade using the WordPress Automatic Upgrade Plugin. When i logged into the Dashboard, i came to know that WordPress 2.8 has been released. So, i upgraded immediately. It went on smoothly. So, i can confirm that it works well for upgrading to 2.8.

Now, coming back to WordPress 2.8, i visited the WordPress blog to know about the new features in 2.8. There are some very nice features. My favorite are :

CodePress Highlighting in the Editor : Finally, i need not fire up my PSPad Editor for making small changes to the theme or the plugins.

New Widgets Interface : As i said, i never really had the chance to play with the Dashboard of 2.7, except for on my Demo and local Dev installations. So, the new widgets interface is really nice.

Screen Options : Enables us to set how many items to show per page. I have the habit of manually checking and deleting the comments marked as Spam. So, it is easier when all the comments are displayed in a single page.

Installing Themes from Dashboard : Previously this was possible for plugins. As promised, they’ve added the feature for themes too. Though i’ll never be using this, it’ll be useful for casual bloggers who like to change the look of their blog often.

So, if you’re thinking of updating to 2.8, delay no further. Its a worthwhile upgrade. Use the WPAU plugin to make the process as easy as sipping coffee.

My New Twitter Background

I’ve been owning a twitter account for a long time, though i use it only less. All these days i never cared about my twitter background and was happy with the default one. As i started to get more and more followers, i said to myself “this is the time to put a customized background. do it before its too late”. And, today i did it. I didn’t spend a lot of time on it. Just some 2 minutes of Photoshop work. Looking forward to hear your comments on how it turned out. Check out the screnshot below, or live on my Twitter page.

twitter-capture

Is It That Important To Get Rid Of WordPress Search ?

Today, this post from ProBlogDesign popped up on my Google Reader and made me wonder “if it is that important to get rid of WordPress search ?”. I know i’ve already written about WordPress Search. But, it is a topic worth taking a second look at. Quickly read through that post and do the search on ProBlogger today. The post that i mentioned has been promoted to 17th position from its earlier 12th position. How cool.

WordPress, sure, is an awesome piece of blogging software. But, why is the search functionality of WordPress so poor ? What are the basic flaws ?

  • Search results are sorted according to date, while all search results should be sorted according to relevance.
  • WordPress searches only “title” and “content”. While that may be logical for a “blog”, the search SHOULD include comments, author, category etc.. For eg, when i search for “Hari”, it is supposed to bring up all the posts written by me, with the priority being as follows : 1) having “Hari” in title. 2) having “Hari” in post content. 3) having “Hari in comments. and 4) lastly, doesn’t have “Hari but was written by me. But what happens actually ? The top results are the posts which contain the word “sHARIng”. How funny…
  • Another example is when i search for “Advertising”, it is supposed to bring up the posts from my Advertising category. But, only one post from that category actually appears in the results. Whether or not the post contains the term “Advertising”, i (a human) have classified it under Advertising. WordPress should give priority to my classification rather than some dumb SQL query.

I noticed that some of the top blogs on my Google Reader have replaced WordPress Search with alternatives.

Is Google CSE the only Answer ?

Google CSE is a really good service. But, should you use it on your blog ? With the “google”ish layout and the Ads, you completely lose the blog feel of it. Also, for an average blog with many hundred or few thousand posts, the Google search algorithm is not absolutely necessary. You can live with certain changes to your WordPress Search algorithm. For details on tweaking your WordPress search, do take a look at this post.

Do you have any other suggestions to improve WordPress search ? Share with us in the comments.

Installed Windows 7 Ultimate RC

After a lot of dilemma over whether to upgrade to Windows 7 RC build, today i finally took the plunge. Since there was a direct upgrade option from my Vista, i did not lose any of my program or my files. The upgrade went smoothly. So far, i did not have problems with anything.

Things I Like In 7 :

  • Aero peek effect. I’m in love with this effect. Though it doesn’t give any functionality more than the “show desktop”, the glass effect is awesome.
  • The new taskbar. Even in my Vista, i use a full row of Quick Launch bar with “large icons”. So, this new taskbar is even more useful, atleast for me.

Things I don’t Like

There is nothing much i don’t like in 7, after one day of use. But, i don’t like this thing called “Libraries”. I’m yet to figure out what it is exactly. Also, I miss the “DreamScene” from my Vista.

I’ll post my experience with Windows 7 as i use it more in the following days. For those who’re still in a dilemma as me, i’d happily recommend taking the plunge.