Web Accessibility Guide
Web Accessibility Guide
Contents
Web accessibility: An introduction ....................................................................... 3 The law in the UK.............................................................................................. 5 How disabled users access the Internet ................................................................ 8 Myths .............................................................................................................10 How to...Web accessibility .................................................................................12 Benefits part 1: Increase in reach ....................................................................15 Benefits part 2: The business case ...................................................................17 Ten basic accessibility tests ...............................................................................19 Further reading................................................................................................21 About Webcredible ...........................................................................................22
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
We made our website accessible in order to set an example to the 1,000,000+ web developers who visit our website each month. Thousands of sites have since followed our lead. - Matt Mickiewicz, SitePoint (www.sitepoint.com)
In 1999 part III of the Act, which refers to service providers, came into force In 2002 the Code of Practice for part III of the Act was published and specifically mentions that accessible websites are now a legal requirement For more information about the legal requirements please consult page 5.
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
The number of people accessing the Internet from handheld devices is increasing at a massive rate in 2008 there'll be an estimated 58 million PDAs sold worldwide1. You can test how your website looks on a handheld device with the Opera mini simulator2.
1 2
www.etforecasts.com/pr/pr0603.htm www.opera.com/products/mobile/operamini/demo.dml
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
The Act makes it unlawful for a service provider to discriminate against a disabled person by refusing to provide them any service which it provides to members of the public. - Code of Practice, Disability Discrimination Act
4.7 (p39): From 1st October 1999 a service provider has to take reasonable steps to change a practice which makes it unreasonably difficult for disabled people to make use of its services.
2.13 - 2.17 (p11-13): What services are affected by the Act? An airline company provides a flight reservation and booking service to the public on its website. This is a provision of a service and is subject to the act. 5.23 (p71): For people with visual impairments, the range of auxiliary aids or services which it might be reasonable to provide to ensure that services are accessible might include ... accessible websites. 5.26 (p68): For people with hearing disabilities, the range of auxiliary aids or services which it might be reasonable to provide to ensure that services are accessible might include ... accessible websites.
www.drc.org.uk/open4all/law/Code of Practice.pdf
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
The law about accessible websites came into force on 1st October 19994 and the Code of Practice for this section of the Act was published on 27th May 20025. This means that many websites are in breach of the law. It was widely believed that the new laws were implemented in October 2004, when the final part of the Act came into force. This final piece of legislation actually referred to service providers having to consider making permanent physical adjustments to their premises and was not related to the Internet in any way.
4 5 6 7 8
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
over their inaccessible website9. (The Australian Disability Discrimination Act quite closely resembles that of the UK's.) UK courts may also take into account the New York case against Ramada.com and Priceline.com, who were also successfully sued over the accessibility of their websites in 200410.
www.contenu.nu/socog.html www.out-law.com/page-4823
10
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
Many blind and partially sighted people find it liberating to be able to shop without asking a sighted friend to help, or to read the news or a book without assistance from a sighted person. - Julie Howell, RNIB (www.rnib.org.uk)
Partial/poor sight
To take full advantage of the Internet, users with partial or poor sight need to be able to enlarge the text on web pages. To confirm your website allows them to achieve this, go to View > Text size > Largest on Internet Explorer.
If your site is accessible to this group of users then the size of the text throughout the page will increase. Users with poor vision may also use a screen magnifier. You can download the MAGic screen magnifier for a free trial12.
Colour blindness
It's estimated that one in 12 men and one in 200 women have some form of colour blindness13, the most common type being the inability to differentiate between red and green. You can check how Internet users with colour blindness are viewing your website with the Vischeck14.
11 12 13 14
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
Deaf users
Deaf users are able to access the Internet in much the same way as able-bodied people, with one key exception - audio content. If it's a key function of your website for people to be able to hear a message, then be sure to provide written transcripts and subtitles.
Keyboard-only users
Some of your site visitors may be unable to use a mouse when browsing the Internet, due to a physical disability. Try putting yourself in their position by navigating your website using only tab, shift-tab, and the return key.
Other users
Other people who may access your website that have disadvantages include: Some Epileptic users who must always be careful to avoid seeing flickering between 2 and 55 Hz Web users from outside your industry who may not understand industry jargon or acronyms Web users whose first language is not English and who may not be able to comprehend complicated language To really put yourself in the position of any one of these web users try out the DRC's inaccessible website demonstration15.
15
www.drc-gb.org/open4all/newsroom/website6.asp
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
Myths
Creating a text-only equivalent is sufficient
Creating a separate text-only equivalent can lead to a number of problems: A text-only version is not necessarily accessible Two versions of the same website can represent a large time and money investment for you Your primary site may still be inaccessible to many users An extra website for blind and disabled users can be one more way to make them feel marginalised from mainstream society
By developing a fully accessible website we experienced a dramatic reduction of man hours needed to maintain the site. - Matthew Ogston, AccessibleNet (www.accessiblenet.org)
Web accessibility isnt just about blind and disabled Internet users being able to use your site its about everyone being able to successfully access it. It really doesnt have to take very much time or money to make your website accessible, especially if youre building a new website.
16
www.csszengarden.com
10
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
17
www.zooknic.com/Domains/counts.html
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
11
Your website must be able to function with all different browsing technologies
This is the first and perhaps most important rule of web accessibility. Not everyone is using the latest version of Internet Explorer, with all the plug-ins and programs that you may require them to have for your website. Different browsing technologies can include: Handheld device - Very small screen with limited support for JavaScript and large images (e.g. mobile phone, PDA) Screen reader - Reads the content of the page aloud in the order it appears in the HTML document (used by blind web users) Screen magnifier - Magnifies the screen so only a very small section of the page can be viewed at any one time (used by web users with poor vision) WebTV - 560px in width with horizontal scrolling not available Lynx browser - Text-only browser with no support for tables, CSS, images, JavaScript, Flash or audio and video content Slow connection (below 56kb) - Users may turn off images to enable a faster download time 1600px screen width - Very wide screen This basically means that you must provide alternatives to: Images - in the form of ALT text JavaScript - by ensuring all content is still accessible to non-JavaScript users Flash - with HTML equivalents Audio & video - by providing written transcripts You must also be careful how your pages look when support for CSS and/or tables has been removed.
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
12
A good way to test for all this is to download the Lynx browser18 and see if you can successfully access every part of your website. Please consult page 19 for some more ideas for testing your website.
It should be easy for all users to quickly process the content on your website
We generally don't read web pages. We scan, trying to find what we're looking for as quickly as possible19. On a regular monitor, we scroll down the page looking at the items that stand out from the rest of the text: headings, links, emboldened text and bullet points. Non-keyboard and visually impaired users often scan pages by browsing through headings and/or links. Make sure you use headings, links, emboldened text and bullet points and that they contain descriptive text. For example, never use click here for link text.
18 19
lynx.browser.org www.useit.com/alertbox/9710a.html
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
13
By separating structure and presentation your website will be flexible enough to be ready for the future of the Internet: PDAs, mobile phones, in-car browsers, WebTV and 1600px screens. The structure of a document is how it is organised, usually with navigational menu items, headings, sub-headings, paragraphs, lists, and links. The presentation of a document is how these words and images are presented to the end user. The main principle behind this is to use CSS and not tables to lay out your web pages. Check out the Webcredible resources area for lots of CSS tips and information20. There's more to separating structure and presentation than just laying your web pages out with CSS. You can, and should, avoid using presentational elements as they may cause your website to become inaccessible to certain users. The W3C has provided an HTML element list that tells you which elements are structural and which are presentational21.
The end user should have control over your web pages
All web users have unique requirements for how they use the Internet, depending on the kind of browser they're using or any kind of handicap or disability they may have. By handing control back to your users they'll be able to use your website in the way that best suits them. This could mean allowing users to resize text, warning them when links are going to open in a new window, or providing a skip link at the top of the page that takes visually impaired users directly to the page content (so they dont have to listen to the navigation options on every page).
20 21
www.webcredible.co.uk/user-friendly-resources/css www.w3.org/TR/WCAG10-HTML-TECHS/#index-elements
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
14
Why you should care about blind and disabled Internet users
The statistics on the number of users who may face difficulties using your website are quite startling: There are 8.6 million registered disabled people in the UK - 14% of the population22 One in 12 men and one in 200 women have some form of colour blindness - 9% of the UK population23 Two million UK residents have a sight problem - 4% of the population24 There are 12 million people aged 60 or over 21% of the UK population25
We estimate that the average table-based HTML web page would download two to three times more quickly if it was created with a CSS layout. - Trenton Moss, Webcredible (www.webcredible.co.uk)
Although there is inevitably some overlap between all of the aforementioned groups, adding up these numbers provides a total of 48% of the UK population that could potentially face problems using your website. That's an extraordinarily high number.
It's not just disabled users who can't access your website
Non-disabled people may also experience difficulties using your website. Not everyone is viewing your website on the latest version of Internet Explorer, with all the plug-ins and programs that you may require them to have for optimal access.
22 23 24 25
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
15
If your website relies on images, Flash or JavaScript, and fails to provide alternatives, then a number of web users will be unable to access your website. The following examples are a common occurrence: WebTV, mobile phones, and PDAs have limited support for large images, Flash and JavaScript. You can test your website on WebTV by downloading the free WebTV viewer26. You can also look at how your website will look on a mobile phone with the Opera mini simulator 27. Users on slow connections may turn images off to enable a quicker download time. Some browsers, such as the text-only Lynx browser do not display images at all. Not all users have downloaded the latest Flash program needed to display your site. Additionally, the download time on Flash websites often takes so long that users lose patience and don't even wait to see the content. As of December 2005 under two thirds of web users in the UK were connected to the Internet via broadband28. JavaScript is a scripting language that can cause changes to a page, often through mouse functions, buttons, or other actions from the user. For example, pop-ups are opened using JavaScript. JavaScript is unsupported by about 4% of web users29, because theyve turned it off to prevent pop-up adverts, for security reasons or their browser doesn't support it.
26 27 28 29
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
16
Id heard that accessible websites achieve high search engine rankings, but I wasnt sure if this was true. Since we made our website accessible, traffic from search engines has increased six-fold!
An accessible website separates the content (the words and images that we see on the screen) and - Gez Lemon, Juicy Studio presentation (the way that these words and images (www.juicystudio.com) are laid out) of each page. Each web page has an HTML document that contains the words and images for that page (the content), and calls up a CSS document that includes the presentation information - this CSS document is shared by all the pages on the website. To adjust the layout of your website, you only have to make changes in the CSS file, saving considerable time (and therefore money).
30
www.opera.com/products/mobile/operamini/demo.dml
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
17
The more confident a search engine is of what your website is about, all other things being equal, the higher it'll place your website in the search rankings.
31 32 33
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
18
Check that you can access all areas of your website without the use of a mouse
Can you navigate through your website using just tab, shift-tab and return? If not, then neither can keyboard-only users.
34 35 36
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
20
Further reading
Websites
W3C web accessibility guidelines 1.0 www.w3.org/TR/WAI-WEBCONTENT/full-checklist.html The official 65 checkpoints in full Webcredible web accessibility articles www.webcredible.co.uk/user-friendly-resources/web-accessibility Lots of easy-to-understand accessibility how-to articles Accessify www.accessify.com Free accessibility tools and lots of useful accessibility resources Accessible Net www.accessiblenet.org Excellent online directory of links and resources about web accessibility Dive Into Accessibility www.diveintoaccessibility.org An excellent online learning resource for web accessibility Juicy Studio www.juicystudio.com Website offering up-to-date accessibility articles and opinion pieces A List Apart accessibility articles www.alistapart.com/topics/userscience/accessibility Large number of well written (and often innovative) accessibility articles
Books
Web Accessibility: Web Standards and Regulatory Compliance Jim Thatcher et al Building Accessible Websites Joe Clark
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
21
About Webcredible
Webcredible is a usability and accessibility consultancy providing a range of services: Usability Usability testing Usability website evaluation Ongoing usability support Intranet usability Training Usability testing training Writing for the web training Web usability training Web accessibility training Advanced CSS training User-centered design User research & focus groups Card sorting & site map creation Wireframe design & testing Accessibility Web accessibility evaluation Accessibility testing Ongoing accessibility & CSS help Accessible web design CSS web design & build CSS / XHTML coding DOM scripting & accessible
Webcredible is widely regarded as one of the most innovative and respected usability and accessibility consultancies in the UK. Webcredibles research articles have been republished on well over 100 websites and in numerous offline publications. Webcredible regularly conducts usability testing studies and has a purpose-built usability lab (see www.webcredible.co.uk/services/tour for a virtual tour). Clients include BBC, Environment Agency, Norwich Union, T-Mobile, Visa, World Health Organization and Yamaha. For more information please: Telephone 0870 242 6095 E-mail info@webcredible.co.uk Visit www.webcredible.co.uk
info@webcredible.co.uk Webcredible, 99 Mansell Street, London E1 8AX 0870 242 6095 www.webcredible.co.uk
22