Skip to main content

Adding links, documents, images and videos

Find out how to present different types of media on suffolk.gov.uk.

Links

Links should make sense in isolation.

It should be clear from the link text alone what will happen when you click or tap the link. 

It's also good practice to write link text as an action, starting with a verb.

You should set:

  • internal links (for a page on the same website) to open in the same browser tab
  • external links (for another website) to open in a new tab

Link practices to avoid

Do not:

  • link headings
  • use a full URL as the link text
  • use generic link text such as 'click here'
  • repeatedly use the same link text for different links
  • list links under generic 'further information' headings
  • have the same link under different link text in the same paragraph

Documents

How to publish information

Publish information as website content (HTML) rather than files (such as PDFs) wherever possible.

This is because PDFs:

  • do not change size to fit a web browser
  • are not designed for reading on screens
  • don't allow us to track how people use them offline
  • can be hard for some people to access
  • are harder to keep up to date

More information: Why GOV.UK content should be published in HTML and not PDF

'Open' versus 'closed' file formats

Avoid using document formats such as .docx or .xlsx where possible. These are ‘closed’ formats, which means they can’t be opened and edited in all software applications.

Use .doc or .csv instead, which are open formats.

Document file names

Give all files you upload a meaningful file name. Do not use vague file names, for example, v62.pdf or application-form.pdf.

A good file name will make sense to the user if they find it in their download folder. It also makes it easier to analyse data in Google Analytics.

The file name should:

  • be written entirely in lowercase
  • use hyphens or underscores instead of spaces
  • make sense out of context, for example, v62-application-vehicle-registration-certificate.pdf

The file name should not include:

  • a version number, ‘draft’, ‘clean’ or ‘final’, unless those words are part of the document title
  • a date, unless the date is part of the document title, for example, a business plan for 2023 to 2024

Document file size

The maximum file size for suffolk.gov.uk is 5MB. You should aim for your file to be less than 2MB if possible.

There are many free online tools that can shrink your file size.

Formatting your document link

Use the document publishing format: 'Linked file name (file type, file size)'.

For instance: Example document (Word, 12KB).

If your document is not accessible

Add this messaging near to the document: 'This file may not be suitable for users of assistive technology. Request an accessible format.'

You can read the guidelines section on accessibility to make your documents more inclusive.


Images

Types of image

There are three main types of image:

  • informative - which help to explain something visually
  • decorative - to improve the look and feel of the page
  • functional - for a user action, such as a print icon or 'start' button

How to use images

Use images to inform the user.

Avoid using images for decoration (some exceptions apply).

  • informative example: an image showing pothole depth is informative, as it can help explain what a dangerous pothole looks like
  • decorative example: an image of children in a classroom on a school term dates page is decorative, as it does not help explain anything

Functional images like buttons and navigation tiles should be added to a page using CMS features, not by inserting an image file.

Adding a description to your image

Add alternative text (alt text) description to your image. This tells people with screen readers what the image shows. It'll also help people find your page through search engine image results.

For example, 'A dangerous pothole with a depth of X centimetres' is good alt text for an informative image.

You don't need to start the alt text with 'Image of...' as screen readers will announce that it's an image before reading out the alt text.

Image practices to avoid

Do not link images, for example, an image of another website to take the user to that site.

Do not publish images containing text (except logos). This can be hard to read and makes the information inaccessible to screen readers and search engines.

Uploading and adding images to a page

Images uploaded to suffolk.gov.uk should be:

  • a JPG or PNG file format
  • maximum 1200px wide
  • less than 1MB file size

Before uploading or adding an image, search the image library before adding a duplicate. If you need a particular image which is not already uploaded, contact the DCT.


Videos

You can embed YouTube videos on suffolk.gov.uk using the Video Embed component.

Your video (if prerecorded) should include closed captions (CC) for things like dialogue and sound effects. It may also require audio description (AD) if there's visual information not described in the main audio track.

It's best practice to also provide a version of your video that includes British Sign Language (BSL) interpretation, but this may not always be practical.

Live video including CC, AD and BSL is best practice, but not always practical and not mandatory on suffolk.gov.uk.

Other media

You can also embed other media types on suffolk.gov.uk such as a Google Map, MS Sway or PowerBI Dashboard.