designing usable web pages dey alexander web designer infrastructure services ph: 990 54740

87
Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Upload: elfrieda-bond

Post on 25-Dec-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Designing usable web pages

Dey AlexanderWeb Designer

Infrastructure ServicesPh: 990 54740

Page 2: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Usable web page design

Page design is the most immediately visible part of web design.

Jakob Nielsen, Designing Web Usability, p. 17

Page 3: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Overview

• visual design & layout

• download times

• use of screen real estate

• HTML techniques for layout

• interoperability

Page 4: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Eye flow & design

“Good design is based on eye flow. The more eye movement required within a visual field, the less information can be received and processed.”

Duff & Mohler, 1996

there is a relationship between

• eye flow• information processing

Page 5: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Minimise eye movement

Need to minimise eye movement is even more important online:

• users’ attention span is short

• harder to read from screen

• users’ don’t read, they scan

Page 6: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Eye movement during reading

• left to right

• top to bottom

The way we are taught to read has implications for how we scan a screen:

Page 7: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Gutenberg diagram

POA: primary optical area

TA: terminal anchor

Wavy lines: eye resistance

+: fallow areas

Source: Colin WheildonType & Layout, 1996.

Page 8: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Eye flow & page elements

Elements on web pages create shapes:

• blocks of text

• images

• bullets, input boxes, etc.

Page 9: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Eye movement and shapes

Position elements to minimise eye movement

Source:Yale Style Manual

Page 10: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Shapes create grids

Draw imaginary lines to check grids:

• grids help predict eye movement

• grids help us check placement & alignment of page elements

Page 11: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Example page grid (1)

Page 12: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Example page grid (2)

Page 13: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Visual hierarchy

there is a relationship between:• visual depiction of hierarchical r’ships• information processing

One of the best ways to make a page easy to grasp in a hurry is to make sure that the appearance of things on the page… clearly and accurately portrays… which things are related and which things are part of other things…

Steve Krug, 2000

Page 14: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Goals of visual hierarchy (1)

to show importance or priority

• make important elements bigger, bolder

• position important elements nearer to the top of the page

• use whitespace around elements tomake them stand out

Page 15: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Visual hierarchy example (1a)

Page 16: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Visual hierarchy example (1b)

Page 17: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Goals of visual hierarchy (2)to show relationships between elements:

• use positioning:grouping, nesting, proximity

• use presentation styles:size, colour, orientation, font

Page 18: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Visual hierarchy example (2a)

Page 19: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Visual hierarchy example (2b)

Page 20: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Goals of visual hierarchy (3)to aid scanning and comprehension:

• create contrast between page elements

• use meaningful headings and sub-headings

• provide visual relief from densechunks of text

Page 21: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Visual hierarchy example (3a)

Page 22: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Visual hierarchy example (3b)

Page 23: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Text alignment

alignment options:

• left• right• centred

• justified (limited)

• mixture of above

Page 24: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Text alignment and readability

Left alignment is most commonly used:

• eye scans from left to right

• easier to read

Page 25: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Text alignment example (1)

Page 26: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Text alignment example (2)

Page 27: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Legibility

Factors that affect legibility

• font size, face

• use of colours

• contrast

Page 28: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Font size and face (1)

Study of font faces and sizes by Software Usability Research LabWichita State University, 2000

• 35 participants

• all 20/20 vision

• read 8 short passages of text

Page 29: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Font size and face (2)

• speed

• accuracy

• Arial vs Times New Roman

• 10 points vs 12 points

• anti-aliased vs dot matrix fonts

tested for

tested between

Page 30: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Test results (1)

no significant differences in detection of errors

Page 31: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Test results (2)

users didn’t prefer fastest font

Page 32: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

What fonts do we use?

for users with good vision

- TNR vs Arial not critical- 10 vs 12 point not critical

but not all users have good vision

- 12 pt would be a safer default- allow user to override

Page 33: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

More on text

Text is harder to read when

• IT’S ALL IN UPPERCASE

• it is blinking

• it is moving (marquee style)

• it is zooming

Page 34: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Colour and contrast

use colours with good contrast

- white on black (‘positive text’) is best

- black on white (‘negative text’) is next best

use plain backgrounds

Page 35: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Contrast – example (1)

colour contrast insufficient

Page 36: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Contrast – example (2)

• busy background image

• insufficient colour contrast

Page 37: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Summary: visual design (1)• eye movement & comprehension

• visual hierarchy & comprehension

elements create shapes on page

shapes create grids

show prominence

show relationships (similarity, parent/child)

aid visual scanning

align shapes, minimise grids

Page 38: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Summary: visual design (2)

• text alignment & comprehensionleft alignment works best

• legibilitylarger default font is bestdon’t prevent user adjusting font sizeblack text on white background best contrastdon’t use busy background images

Page 39: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Use of screen real estate

Do users want…

• to see whose products you’re advertising?

• to evaluate your navigationsystem?

• to admire your graphic design skills?

Page 40: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

What do users want?

Why did user come to your site?

• for its content!

Jakob Nielsen recommends devoting 50-80% of screen real estate to content

Page 41: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Screen real estate (example 1a)

Page 42: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Screen real estate (example 1b)

Page 43: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Screen real estate (example 1c)

Page 44: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Screen real estate (example 1d)

Page 45: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Design ‘above the fold’

‘above the fold’ = newspaper term

Make sure important informationcan be seen in first screen view

Page 46: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Scrolling behaviour

Early studies (19954/5) showed that users would not scroll

Not true of users now, but…

• users will only scroll if they think they are on the right page

Page 47: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Variations in display

The location of the ‘fold’ can vary:

• different display resolutions (640x480, 800x600, 1024x768)

• browser toolbars take up space

Safe space = ~ 300 pixels

Page 48: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

‘Above the fold’ (example 1a)

Page 49: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

‘Above the fold’(example 1b)

Page 50: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Page length and scrolling

as a rule of thumb

level one page – one screenful

level two page – two screensful

beyond that – ok to be longer

Caution: pages can be directly accessed!

Page 51: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Placement of page elementssome design conventions exist

• navigation left or top of page(with text links repeated at bottom)

• logo top left or centre (as link to home page)

Page 52: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

User expectations study

• conducted at Wichita State University usability research lab (2000)

• 304 participants (128 male, 183 female)

• age range 18-63 (average 20)

• Internet experience > 1yr (mean 3 yrs)

• primary surfing goal - education

Page 53: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

User expectations study

Page 54: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Summary: screen real estate

• content should dominate (50-80%)

• important info ‘above the fold’

• place common page elements according to user expectations & conventions

Page 55: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Download times

“Every usability study I have conducted since 1994 has shown the same thing: users beg us to speed up download times”

Jakob Nielsen, 2000

Page 56: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Critical time factors

.01 second limit for system to appear to beinstantaneous (ie applets for screen movement)

1 second limit before user’s flow of thought isinterrupted (though delay would be noticed)

10 seconds limit for keeping the user’s attentionfocused (so 10 seconds max. for a page to load)

Miller on response times (1968)still considered valid:

Page 57: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Factors affecting response times• throughput of the server

• server’s connection to the net

• user’s connection to the net

All of these outside web author’s control

• bottlenecks on the net

Page 58: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Factors affecting response times• browser rendering speeds

- complex tables

• weight of page components - in kilobytes

Both of these are within web author’s control

Page 59: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Complex tables

avoid them!

• reduce nesting (often produced by graphical authoring tools)

• break longer tables up (make first table small for

fast loading)

Page 60: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Graphics & multimedia

• mimimise use of graphics

• optimise images

• reuse images where possible

• careful use of multimedia

Page 61: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Page weight limits

What is maximum acceptable weight of page?

• based on survey of top 50 web sites in July 1999

• top ten average size - 34.4Kb

• bottom ten average size - 61.3Kb• average size - 47.8Kb

Vincent Flanders, August 1999

Page 62: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Page weight limits

1 second 10 seconds

modem 2Kb 34Kb

ISDN 8Kb 150Kb

T1 100Kb 2Mb

Jakob Nielsen, 2000

Page 63: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Page weight examples

Google – 13Kb

Yahoo – 29Kb

Hotmail - 18Kb

Amazon - 65Kb to 87Kb

Page 64: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Page weight examples

Monash Uni – 28Kb

LaTrobe Uni - 55Kb

Melbourne Uni - 75Kb

Deakin Uni - 39Kb

Page 65: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Summary: download times

• response times consistently raised by users

• some response time issues outside our control

what we can do:• simplify tables

• rationalise and optimise multimedia

• aim for pages around 34Kb

Page 66: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

HTML layout techniques

3 layout techniques:

• stylesheets• frames• tables

2 page width options:

• fixed width• variable width

Page 67: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Stylesheets

technically the ‘right’ way:

• separates content from presentation

• allows content to be accessible on multiple devices and browsers

however:

• problem with legacy browsers &different browser implementations

Page 68: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Stylesheets: advice on use

Use stylesheets to:

• handle all text formatting

• handle all table colours

Move to layout with CSS as soon as possible

Page 69: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Frames: implementation

Commonly used for layout, to maintain navigation bar on screen.Often poorly implemented:

• orphan pages

• frames too small for content

• bookmarking problems

• external link problems

Page 70: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Frames (example)

Page 71: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Frames: user model

break user’s conceptual model (single page)

• one page made up of several pages

• one page made up of several URLs

• confusing to some users

Page 72: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Frames: advice on use

• preferably, don’t use them• if you must use them:

• ensure no orphan pages

• check on different displays to ensure all content fits• enable bookmarking

• don’t trap pages in your frames

Page 73: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Tables

Commonly used for layout

• can slow page download

• often badly coded (nesting)

• not accessible to all browsers

Page 74: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Tables: advice on use

If you must use them for layout:

• keep them simple

• use table summaries

Page 75: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Page width: fixed

• can look lonely on high resolution displays- centering the design will help

• will hold content in place as designed- only in graphical browsers- only if user hasn’t overridden font size

• can be useful for containing text at readablepage width

• which width to use?- problems with printing over 600px wide- some users don’t know how to change display resolution

Page 76: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Page width: variable

• adjusts to users’ display resolution

• adjusts for printing- need to take care with width of images,

tables, form elements

• text chunks can be too wide to read- can be held in place by fixed width cell

Page 77: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Summary: HTML layout techniques

• use stylesheets wherever possible

• avoid use of frames

• use tables with care

• weigh up pros & cons of fixed vsvariable page widths

Page 78: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Interoperability

• browsersgraphical (IE, Netscape, Opera)non-graphical (Lynx, W3M)

• operating systemsWindows, MacOS, Unix, Linux, etc.

• devicesPDAs, WAP-enabled phones, etc.

Page 79: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

What to aim for

accessible to

• your target audience

• widest audience possible

Page 80: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Know your audience

• target audience profiles- info on browser/platform usage

• intranet sites- SOE?

• special purpose sites- designed for specific device/os

what do you know about your users?

Page 81: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Know your audience

Page 82: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Know your audience

make use of 3rd party statistics

www.nua.ie/surveys

statmarket.com

Page 83: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

How to do it?

• use standards- HTML/XHTML/CSS- Web Content Accessibility Guidelines

• validate- validator.w3.org- jigsaw.w3.org/css-validator/- cast.org/bobby

Page 84: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

How to do it?

• test

- various graphical browser types- various browser versions- text browsers- multiple platforms

Page 85: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Test toolsSimulation of lynx text browserwww.delorie.com/web/lynxview.html

Simulation of older browserswww.delorie.com/web/wpbcv.html

Strips illegal HTML markup www.delorie.com/web/purify.html

Disability access checkerwww.temple.edu/inst_disabilities/piat/wave/

Page 86: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

Summary

• visual design & layout

• download times

• use of screen real estate

• HTML techniques for layout

• interoperability

Page 87: Designing usable web pages Dey Alexander Web Designer Infrastructure Services Ph: 990 54740

ReferencesJakob NielsenDesigning Web Usability, 2000

Steve KrugDon’t Make Me Think, 2001

Patrick J Lynch and Sarah HortonWeb Style Guide, 1999http://info.med.yale.edu/caim/manual

World Wide Web Consortiumhttp://www.w3c.org/