1
0

D
e
c
e
m
b
e
r

2
0
0
6

Button Hell

What is it about shopping cart software that causes its developers and installers to abuse the button? Every shopping cart package I’ve encountered uses graphical buttons instead of the ones you get for free with the <input> tag. This causes both usability and development issues. For example:

button_hell.gif

For a start, users need to become accustomed to what can be clicked on, and what is merely informational. Take that last image – is it something you can click on, or does it point to where you can perform the function? Even big names like Amazon have developed a raft of new button images for their stores. Even stores that pride themselves in their cool use of CSS fall into this trap.

There are also developmental issues: when you adopt a shopping cart package, you usually need to spend time redeveloping the buttons so that they fit with the design of the site. Some packages, including X-Cart, explicitly include size information in such images – if you change the dimensions of the image, you need to examine the templates to determine where these images appear.

What about localising to a particular language, or otherwise changing the text for a button? Instead of a simple configuration file which would pickup the text to be used in an <input> tag, all the images need to be change to accommodate the different text.

Some shopping carts compromise on these issues – they use the <input> tag, and then use CSS to style them as required. However, once you start to adopt rounded buttons, you’ll find that the CSS then becomes populated with special rules to generate buttons of particular sizes to ensure that an appropriate background image is used. Change the amount of text in the label and guess what? You’re back to redesigning the background image to fit. And maybe the CSS too.

Using what web browsers generate by default removes all of these issues and immediately makes an online store familiar to new visitors. Furthermore, it makes customising and testing a store much easier. If a developer feels the need to decorate such standard button, it’s easy to do so with CSS, but one must use caution to avoid potential customisation issues, e.g.:

Easy huh?

Leave a Reply

copyright ©2006 and so on, ninthspace.org, except quotations, lyrics and some images which are the rights of their respective holders