Creating effective and accessible content

People come to a website for its content, either because they have a specific information need, seek entertainment or want to buy something. In the case of a University website, they are most likely to look for information that answers a question (eg What is it like to study in Bristol?) or helps them complete a task (eg I want to visit the University.). They expect this information to be easy to find, to access and to understand, as well as being accurate, up-to-date and credible.

This webpage offers you advice on how to achieve this by focusing on good practice when writing web copy.

  1. Writing effective web copy
  2. Wepage structure: headings, lists
  3. Links and navigation
  4. Creating accessible Word and PDF files
  5. Using images
  6. Data tables
  7. Text size, broken links, back-to-top and UoB access only includes

1. Writing effective web copy

Although the rules of good writing apply equally to the web as they do to print, screen reading differs from print reading in several ways:

In a nutshell, effective web writing:

How?

Stop and think. Plan what you are going to write:

  1. What is your key message? What are you trying to achieve?
  2. What is its purpose/goal?
    Eg to inform, to promote, to educate, to persuade, to inspire, etc.
  3. Who is the target audience(s)?
    Think of them in terms of age, language ability, level of education, level of expertise on the topic, etc.
  4. Why are they coming to the website? What information are they looking for or do they need from the webpage?
    Tip: Try to think as a member of your target audience and list the questions they need answers to. Write these questions as headings and under each make a note of the points that need to be covered.

Now write:

Once you have clear answers to the questions above, you are ready to write. But before you start, read the following guidelines

Further information and resources:

Staff development run a workshop, 'writing for the web' which offers a lot of practical advice to website publishers.

(Back to top)


2. Webpage structure: headings and lists

The structural markup of your webpages (eg headings, paragraphs, lists etc.) contains very important information about content hierarchy. This information is used by assistive technologies (eg screen readers) to navigate through pages more effectively (for example, by skipping between sub-headings). If a page is not marked up correctly (for example, by using <p><strong>Heading text</strong></p> as a header instead of, for example, <h1>Heading text</h1>) this ability is lost.

There are six levels of headings in HTML, level 1 (<h1>) being the most important to level 6 (<h6>) and two types of lists: unordered (ie bullet) and ordered (ie numbered). Level 5 and 6 are rarely used.

How?

Headings:

Please note: if you are using the templates, the <h1> will be generated automatically upon completion of the title field.

Lists:

Further information and resources

(Back to top)


3. Links and navigation

A clear and consistent style of presentation on each webpage allows users to locate navigation mechanisms (eg navigation bars, content lists, site maps, etc) more easily. Link text that is ambiguous, unclear or meaningless when taken out of context can be frustrating for anyone, especially blind people using a screen reader, and people with learning and reading difficulties.

How?

Make links meaningful:

Making link text as meaningful and descriptive of its target as possible is one of the most important things you can do to make your webpages more usable and accessible.

Link text Healthy lunchboxes for kids
Matching target webpage title Top tips for healthy lunchboxes for kids Yes
Non-matching target webpage title What to put in your children's lunchboxes? No

Absolute and root-relative links

There are two types of links: absolute and root-relative. The difference is the path used in the link. Absolute paths should only be used when linking to a webpage that is outside of the bristol.ac.uk domain, eg http://www.phy.bris.ac.uk or http://www.mrc.ac.uk.

A root-relative link should always be used when linking to bristol.ac.uk page, eg /accommodation/ or /maps/. Remember you must include the intial / so the web browser understands to search within the bristol.ac.uk domain. Specific filenames should be included (eg /study/mature/careers.html), with the exception of index.html to which the browser will default.

Links to non-HTML files

Specifying the file format and size as part of links to non-HTML pages (eg PDF, Word, PowerPoint, etc) improves accessibility and usability. When people see a link on a website, they expect it to be to another web page, therefore you should indicate when this is not the case. It also enables them to see what software they need to view the file and how big it is.

Email links

This ensures that if users do not have their email software configured with their browser, they have the opportunity to cut and paste the address into another package. Also, when a page is printed, the email address will appear in full. Please note that house style is for the email address to be in lowercase.

Miscellaneous

Further information

(Back to top)


4. Creating accessible Word and PDF files

It's no longer just web pages that should be structured correctly for accessibility. The same standards should be applied to Word and PDF files, as many users read these documents electronically. Please see the further information section below for details.

Further information

(Back to top)


5. Using images

Attractive and appropriate images enhance the visual appeal of webpages. However they can be problematic for users who, for one reason or another, cannot see them, and also because computers and assistive technology (eg screen readers) cannot analyse the content of images and determine what they represent. Therefore providing appropriate alternative text for images is essential for three reasons:

Another important aspect of using images in webpages relates to file and pixel size. Images should be optimised to a suitable size for the web so that they are quick to download.

How?

Appropriate use of alternative text

All images on your website must have appropriate alternative text. Speech browsers or screen readers cannot 'see' the content of many file types (including images) found on the web, so alternative textual information is required.

Alternative text is inserted through the alt image attribute: eg <img src="image.jpg" alt="image description" />

Complex images

A complex image is an image that carries a lot of information that cannot be summarised using only the alt attribute, such as a graph or chart. Such images require a longer description which can be provided using one of four methods, as explained in WebAIM's article on creating long descriptions for complex images.

Optimising images for the web

Optimising an image just means resizing it to reduce its file size and pixel dimensions to a suitable format for the web without loss of visual quality. This will ensure that your pages load faster.

Sourcing images for your website

Before using an image on your website, you must ensure that you are not falling foul of copyright law. For this reason you should not just use any image that you find on the web without first checking that you are permitted to do so. It may be difficult to obtain permission to use an image by contacting the owner directly, but there are other ways you can obtain images for free or at relatively low cost:

Further information

(Back to top)


6. Data tables

Until recently there were two basic uses of tables on the web: for webpage layout and for presenting tabular data. However using tables for webpage layout is nowadays strongly discouraged because it goes against the principle of separating structured content from its presentation, which is achieved through the use of Cascading Style Sheets (CSS). Also, a website using tables for layout can present accessibility problems for screen reader users and may be difficult to use for users of mobile devices.

Therefore the main use of tables is to present lists of items consisting of several categories of data in a grid or matrix, for example a list of contact names and telephone numbers, a list of services with different prices or a list of lectures with title, date, time, location, etc. Data tables are great for presenting sometimes complex information in a visually clear and concise way.

However data tables can also present particular accessibility issues to blind screen reader users if they are not coded properly.

For example, let's say you go to a webpage containing the following table and you want to find out about the options available for hiring a room for 40 people for an afternoon meeting.

Precinct faculty room hire
Room Capacity Full day Half day Evening
Avon 30 £76 £54 £98
Trym 50 £98 £66 £126
Frome 100 £137 £88 £148
Severn 200 £253 £159 £220

As a visually enabled person, it is easy to work out that Trym would be a good option and that it will cost you £66. However, if this table was not marked up for accessibility, this is what a screen reader user would hear:

Table with 5 columns and 5 rows. Room, Maximum room capacity, Full day, Half day, Evening, Avon, 30, £76, £54, £98, Trym, 50, £98, £66, £126, Frome, 100, £137, £88, £148, Severn, 200, £253, £159, £220.

This is potentially confusing as users could easily mix up the different prices; and it gets more confusing the more complex the table (imagine a table with more rows and columns, and containing numeric data). However if the table was marked up for accessibility screen readers would hear something like:

Table with 5 columns and 5 rows.
Summary: table showing prices for hiring precinct faculty rooms, including costs for full, half-day and evening board.
Caption: Precinct faculty room hire
Header row: column 1 header: Room, column 2 header: Capacity, column 3 header: Full day, column 4 header: Half day, column 5 header: Evening.
Data row 1: Room: Avon, Capacity: 30, Full day: £76, Half day: £54, Evening: £98
Data row 2: Trym, etc.

As you can see when the table is marked up properly, each piece of data is clearly associated with the corresponding column header, which makes its meaning much easier to identify. In addition when a summary and caption are provided, the screen reader will read this information first, so the user gets an idea of the type of information that is coming.

How?

Accessible markup for the above table would look like (accessibility elements are in bold):

<table summary="Table showing prices for hiring precinct faculty rooms, including costs for full, half-day and evening board" class="data-table">
<caption>Precinct faculty room hire</caption>
    <thead>
        <tr>
            <th scope="col">Room</th>
            <th scope="col">Capacity</th>
            <th scope="col">Full day</th>
            <th scope="col">Half day</th>
            <th scope="col">Evening</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Avon</td>
            <td align="center">30</td>
            <td align="right">£76</td>
            <td align="right">£54</td>
            <td align="right">£98</td>
        </tr>
        <tr>
            <td>Trym</td>
            <td align="center">50</td>
            <td align="right">£98</td>
            <td align="right">£66</td>
            <td align="right">£126</td>
        </tr>
etc
    </tbody>
</table>

Further information

(Back to top)


7. Text size, broken links, back-to-top and UoB access only includes

Text size

To ensure consistency across the University website, the default text size of the templates' content area is set at 100%. This should not be changed. Exceptions can be made for homepages and highlighted information (often in boxes), but generally main body text should be left at 100% of the user's default text size. By keeping the text size at 100%, users are not suddenly faced with webpages where the text is smaller which can often force them to adjust the text size within their browser. If users aren't aware that they have this option within their web browser, they may just move away from your website.

Broken links

Have you tested all the links on your website? Remember to check the top and left-hand navigation bars, the main content area and the footer. University template users will also have to check global as well as departmental navigation bars. If you have a link to a webpage that is under construction, it is better to remove the link temporarily until the page is finished.

Linking to restricted-access webpages and files

Have you clearly marked any links to webpages that are only accessible to UoB staff (ie contained within an intranet folder)? To do this using the house style, use the following code:

Rendered include (UoB access only)
Coding for CMS template <include url="/includes/uobaccessonly.html" />
Coding for Zope template <span class="uobaccess">(UoB access only)</span>

Breaking up long pages

Insert 'Back to top' links to break up long webpages of text. To do this, insert the following code:

Rendered include

(Back to top)

Coding for CMS template <include url="/includes/backtotop.html" />
Coding for Zope template <p class="screen"><a href="#top" class="btop">(Back to top)</a></p>

There is no need to add a target link at the top of your webpage (the template already contains one).

(Back to top)