The Link Target Attribute: Let Users Control Their Destiny

The Bad Old Days

Netscape navigator

We all remember the web like this. Frames, garish colours, eugh…

Back in the 90s and early 2000s, the world was a simpler place. We only really had to worry about 2 browsers, Internet Explorer and Netscape Navigator. We had HTML 4.01 and we were happy with it. There was none of this CSS rubbish – we just put all our presentation and structure in the same HTML page and had done with it. We didn’t even have to get our markup spot-on. I mean, the browser would do a decent job of sorting out our sloppy code. If the user struggled with anything that was their problem, not ours – after all we were the only site on the whole world-wide web doing what we were doing, where else were they going to go?!

Fixing Our Mistakes

Thankfully those days are long gone. In the last few years, I’ve noticed web designers have made a concerted effort to make sure standards compliance, usability and accessibility are the foundations of their work. From making sure UI components are readable by screen-readers for our visually impaired users to nailing down our HTML markup to pass through the W3C validator, we’ve all been making sure that our designs are as easy to use for as many people as possible.

We’ve been helped out a lot by the W3C (the World Wide Web Consortium). If you haven’t heard of them, they’re the guys that work out what we’re going to be using to make websites appear online. They work to generate new versions of (x)HTML and CSS to ensure that browser companies have strict, all-encompassing standards to guide them. Those standards dictate how they should display our websites and by proxy how we should be building them. They’re nice about it though, when they develop a new standard, they allow us to use it in “strict” or “transitional” mode. This was the case with XHTML 1.0, and that’s where our tale really begins. So, when the W3C released XHTML, they changed the face of HTML. We’d all been used to HTML 4 and its general leniency with respect to our code quality. Couldn’t be bothered to end that <p> tag? No worries, just leave it. We’ll work it out. Well not any more. Now everything you opened had to be closed (even image tags! What’s that about?!) and we were all forced to tighten up our act. This was a fantastic move as it made it much easier to emphasise standards compliance across the browsers and improved the chances of screen-readers understand what was going on. As designers, we welcomed this with open arms, it made sense, it was clear, we were happy.

You Can’t Please All the People, All the Time

However, all was not sunshine and rainbows. Some of the changes in XHTML angered people. A prime example of this was the loss of the “target” attribute on links. These played a crucial role in the bad days of browser frames, but in later times they were mainly used to open links in a new browser window. When they were removed from the XHTML specification, people were up in arms – “How do we open links in new windows now?!”. You only really had 3 options:

  1. Produce Non-Standards Compliant code (bad)
  2. Use Javascript to open links in new windows (bad)
  3. Remove the target attribute and let users decide how to open their links (good!)

I suppose I should give some reasoning as to why I choose option 3. Option 1 should be avoided wherever possible. The last thing you want is non-compliant code as by not following standards you introduce the risk of unknown behaviour. Option 2 is not quite so bad, at least you know what’s happening and if the user has Javascript disabled, it will degrade gracefully. So why is it a problem?

The Cardinal Rule: Don’t Confuse your User

Before tabbed browsing, it was uncommon for users to open links in a new window by choice. Instinctively we all want to keep users with us for as long as possible, so we would open a new window to improve our chances of them coming back to us. However, now we’ve got tabs, I think there’s far more use of the “Open in New Tab” – It’s only a control-click away! If the user wants to stick with us, they’ll open the link in a new tab. If they’re done and want to follow the link, they’ll just click through. If we open a new one, they’ll just close it. By forcing them to take the extra step, we’re actually just causing an annoyance and lessening the likelihood of them returning.

Forcing a window open also disrupts the user’s workflow. Semantically, when you click a link, you want to follow it. It can be disorientating when someone throws you into a new tab when you’re not expecting it. Again, this is detrimental to the user-opinion of our site and may reduce return rates.

So there you have it, that’s the end of my little rant. I think we should ban the “target” attribute to room 101 for ever. Let the user decide how they navigate the web. By all means guide them, but don’t be a dictator. It’s generally not a good policy. No-one likes a dictator. And at the end of the day, we all want to be liked, especially if it’s good for business.

Tags: , , ,

Off-The-Shelf Templates: Are They Worth It?

Example commercial template design (take from http://www.rockettheme.com/joomla-templates/syndicate)I was reading this article today on entrepreneur.com, and it got me to thinking – as a small business with a limited budget, is buying a pre-made template ever a good idea?

At first I subscribed strongly to the “no” side of the argument; after all, your business identity and brand is key and it doesn’t exactly entail an image of professionalism if you slap a heavily used, bog-standard template onto your web presence. All the great content in the world couldn’t save you from the first impression your users will get. You also face the crucial problem that your direct competitors may find the same template as fitting as you do. After all, chances are they have the same interests as you and want to attract a similar user base.

Upon reflection, I realised that this issue comes down to one very important question:

 “Is any web presence better than none?”

In all honesty, there is no all-encompassing general answer to this. However, it’s worth remembering that with all the smartphones, iPads and netbooks knocking around now, the Internet is essentially ubiquitous and the first thing many potential customers will do is look you up online. Combine this with the abundance of low-cost, well designed templates available for a variety of different open-source platforms (e.g. Joomla, WordPress and Drupal) and the idea begins to look considerably more feasible.

This was in fact the route taken by my old employer Martial Edge. Initially there was essentially no budget for development, so a free template was really the only option. Once the business grew we were able to extend the template and customise it to the point that it was barely recognisable from what it once was. It’s also worth noting, the brand drove the template choice, not the other way round.

I still believe it’s not advisable to stick with a pre-made template in the long-term – as your business develops, you web site should too – but as a starting point for a fledgling business, it’s not the worst move you could make. At least it gets you started!

What do you think? Can a young business get away with using a budget template while they get off the ground? Or is it more important to build your brand from the outset? Let us know in the comments!

Tags: , , , , ,

Welcome to the Inhale Design Blog!

Hi everyone, and welcome to the Inhale Design blog. I’m Ian and I’ll be your author on this wild ride through the world of design, development and general geekiness. I decided to start writing this out of an urge to spread the word on things I found useful, interesting or otherwise lying around on the web.

I feel I should let you get to know me a little better. I’m Ian, and I started Inhale Design out of a love of all things web. I’ve been working online for the last decade since I started faffing around with good old HTML 4 and those beautiful IE-only glow filters (I’m sorry, I was 12, naive and liked shiny things!). It amazes me how far things have come on since then. We have web standards, design standards, frameworks coming out of our ears. When you think about the capabilities of online applications these days, it’s truely incredible. I’m pretty sure if someone had said to our grandparents “In a few years time, everyone will be typing on these things called computers and sending messages across the world in an instant, for free” they’d have been locked in a padded cell with a very tight straight jacket.

Hopefully over the coming months, I’ll post articles of interest to the web-design community and I’m planning to do some tutorials for tasks that I’ve learnt in my time, so watch this space!