An entry from the journal

A quick testing routine

The Web is a highly dinamic medium. It is used by a large variety of people, each one of them with different attitudes and problems.

In this kaleidoscope of options and possibilities, I sort of get lost when it comes to judge what it’s good and what it’s not. What does it mean the adjective good applied to websites, anyway? Does it mean good-looking? Or good at ease of use? Nah, we need a higher degree of specificity.

We need an example too. The print world comes to mind. You’ve got a piece of paper, say, you paint, write, print your artwork, and the result it’s there, right before your eyes. It is not influenced by external factors. For the Web this is not true.

Every content is accessed via a third party application: the browser. So it’s not a direct connection between the author and the reader. Software gets in the way. And this is good, as software provides the means to avoid the kind of unevennesses we’ve talked about right at the beginning.

Pick a short-sighted person, for example. He/she might not be able to, say, read or distinguish a little detail you’ve so lovely put in your printed handcrafted artwork. No problem: he/she puts glasses on, or makes use of a magnifying glass. The gap between his/her problem and you, the author willing to convey a message, is filled.

A similar, yet more subtle, situation happens with Web pages. Now, the same short-sighted person fires up his/her computer and loads a website that he/she cannot read, as it’s written too small. The deus ex machina role is played by the browser that (should) provides a robust shortcut to bump up the text size for the whole page.

It happens sometimes that this simple and absolutely ordinary and necessary action, kind of messes up the page layout. When it does, that’s not a good page by any means.

So what is a good page, for me? To me, good is something that ensures that its content is kept accessible, yet is able to present it in a nice and appropriate to the context way.

Technically speaking, I love em-based websites because they nicely adapt themselves to different browsing situations. Em-based layouts are spreading more and more, these days, even at corporate level, which is extremely cool, but still too many times I see websites that are just gorgeus when viewed at default text size, but that fail miserably otherwise.

I came to realize that the goodness of a website had very little to do with its graphic look. Or, at least, a lot less than what one could think.

So what? During these years of constant development, I sort of came up with a quick testing routine that gives me a rough clue of how scalable and flexible is the layout I’m designing.

  1. Constantly check your code. XHTML validation is essential, and we should not debate over that topic. A slightly different story applies to CSS validation and the use of non standard properties (such as browser specific implementation of rounded corners). With CSS we can experiment a little bit more. For example adding text-shadow where needed could be possible scenario: browsers that already support it will display it. Others won’t, but that’s fine and acceptable, because it won’t cause much harm to the end-user, right?
  2. Again concerning CSS, try not to use hacks. For as ugly and proprietary as they might look, use conditional comments to load up additional browser-specific stylesheets.
  3. Turn off styling — This will give you a perfectly clear indication of how good your markup is, and will also give you a hint of what a text browser will read. My rule is: ensure that your website is perfecly readable and understandable even without the fancy graphic stuff. This is called graceful degradation, I think.
  4. Repeat the above procedure, this time turning off images. Page size is day after day less a concern, with fast connection speed spreading all over, but there definitely are situations where it does matter how much data you’re downloading (think mobile phones). Browsing with no images to reduce loading times it’s a respectable choice by the end-user and should be honoured, hence the end-user should not be penalized by a imageless layout that’s completely messed up or significantly damaged.
  5. Bump up your text a couple of times — There’s a nice shortcut that works in most browsers that is ctrl/cmd++. If your layout stays OK after this, you can sleep quietly tonight. If it doesn’t, you should fix that as soon as possible. Always ensure that your layout is flexible enough to accomodate this not-so-rare situation.

Now, there would be a whole lot more to say on this topic, but for now I think I will leave it like this: if a website is able to pass that little checklist above, then it could well being judged as good. It also has a killer look? Then it’s a winner, to me.

What about you? Which criteria come in play when you judge how good a website is?

Discussion

The discussion is open. Feel free to post your thoughts; courtesy is required.

  • Simon Pascal Klein on Sep 14 2008 §

    Two confessions to share: I tend to prefer an ample (perhaps too ample sometimes) font size particularly when reading larger articles. I bumped up the font size twice on your site to 15.6px, and was delighted to see the body measure expand upon resizing of type size.

    Secondly, I need to get off my butt and do this myself for my site. I’m using ems for font sizing but not for controlling the measure of the text block nor the columns.

    Nice write-up. Thanks.

  • Leon P on Sep 18 2008 §

    It’s also worth turning off images to see if your site still makes sense without them. You tend to understand how to use alt text better then.

    I write my HTML before applying any styling at all. It takes a bit of self-discipline, but I find it makes for better structured and meaningful documents.

    I’m not sure you have to have XHTML validation - isn’t HTML 4 just as good? Using a CMS or WordPress can cause problems here, especially when you use plugins. Something like just 9 errors would be pretty good going.

    I’d say obeying some well established screen reading conventions helps too (margins under paragraphs? ;) )

    There’s a good article from iA on readability.

  • Andrea Gandino on Sep 18 2008 §

    Thankyou both for your comments, guys.

    @Leon P: yeah well, XHTML or HTML, either one is good. I just meant that markup validation is mandatory, no matter what you use. I tend to prefer XHTML, since most of third party things I use produce XHTML instead of HTML (e.g. Markdown). But that’s not big deal, really.

    Also thanks for that article on readability. Gonna read that for sure, and perhaps make some change here too. In the end, the choice of not going with bottom margin on paragraphs is just an experiment of mines :)

  • Simone Economo on Sep 21 2008 §

    As far as technical issues are concerned, I agree with you. It’s important to perform some tests in order to verify that everything is going fine on the accessibility & semantics side. Instead, I think what does really make a website good is usability. “A quick testing routine” is worth a run, indeed, but an usability test is worth two. Consequently, to me, the adjective good means my website works well for real people, not just odd bots.

    Thank you for your input.

  • Andrea Gandino on Sep 22 2008 §

    @Simone Economo: of course, usability is something that really makes the difference when judging a product, not necessarily a website.

    We should also mention accessibility, if so. Which is not only applying a mere sequence of rules (even if most of those rules still aren’t nowadays), but actually create that empathy feeling that you certainly know about.

    So, perhaps, a good site is a web site that simply cares about the user, both being usable and visually attractive.

  • Andrea Gandino on Oct 6 2008 §

    Again, concerning technical issues, I forgot to mention that a very good practice would be to give your site a test with the Semantic Data Extractor.

    This is a neat tool that basically fetches information from your document, and also provides indication about a document’s structure by analyzing the sequence of headings (H1-H6). If the heading’s flow, which is displayed there as a nested list, makes some sense, then it’s definitely a sign that the markup you’ve written is solid, readable and rational.

Post your remark

Required fields are marked by an asterisk (*). You can use some basic XHTML.

External resources

Just a bunch of articles I’ve came to bookmark that somehow are in topic with what you just read.

Bad Behavior has blocked 124 access attempts in the last 7 days.