Double-click That Link

A pretty stock naughty thing to do when testing a Web application is to double-click a link instead of single-clicking it.

But, Director, what sort of madman would do such a thing?

  • Someone used to the desktop paradigm might do it just because he or she does not know not to (someone like Roberta).
  • Someone like me who doesn’t see any action immediately and wonders if he clicked the link or if he clicked while the cursor was not on the link.

Case in point: In WordPress, you can move an item to the trash by clicking the link labeled, appropriately, Trash:

The mouseover indicates the link is selected....When you click....

If you click the link, the page comes back with the item missing from the list and your trash incremented by 1.

If you double-click the link, though:

When you double-click, hilerrorty ensues.

Hilerrority ensues! The application deletes it and then tries to delete it again! This results in an unspecific error condition, but what would happen in your application?

Come on, guys, the user might double-click a link, and your Web application needs to take that into account and to handle it elegantly. More elegantly than a non-specific error message with no further navigation, certainly.

2 Responses to “Double-click That Link”

  1. Dez Says:

    It’s still fun to find double click errors during checkouts. And when I saw fun, I really mean disappointing and not profitable (for me). Also, seeing the text above the checkout link “don’t click this button twice or your credit card will be charged twice” is especially disheartening

  2. The Director Says:

    I’ve worked on shopping carts for SMB. In many cases, particularly for those who can’t even afford to have a tester spend a couple hours on the site, it’s more secure to mail them your credit card and to have them run it and mail it back to you.

wordpress visitors