Making a positive change: PDF to HTML

Over 100 of you attended our live session on digital accessibility last November. As communicators, we must take care to make our content as easy to understand and accessible as possible.

In order to promote designing accessibility into the system and making people care about accessibility, let’s continue the discussion.

PDF and climate change

Perhaps the most surprising outcome from the panel was about Carbon Dioxide emission in relation to the use of PDF as a communication medium.

The environmental case for HTML over PDF was drawn from research and discussion between Government Digital Service (GDS) and Welsh Government content strategists. In the examples presented during the panel session, Pingdom was used to measure the size of a particular HTML page and website carbon calculator was used to estimate the amount of CO2 emitted for that page.

It’s worth noting that other sources use a different means of measuring the effective size of a HTML page and estimating the amount of CO2 emitted per view.

What is evident across all methods of analysis however is that larger file size = more data transferred = more CO2 emitted. This is particularly evident when PDFs use large amounts of visual content, such as decorative graphics and high-resolution images or diagrams.

Consider inclusion beyond disability. Light, mobile-friendly web pages are critical for users who experience data poverty or have intermittent connections in remote locations. Loading speed has a major impact on the user experience of any online activity, including government services and information

The image below shows the size of a document in HTML and PDF formats.

The HTML page shown is significantly smaller at 1.4 MB than the PDF at nearly 2 MB – 42% larger – despite both containing the same information. The PDF emits an estimated 0.561g of CO2e every time someone views it versus 0.395g for the HTML version.

Read: Publishing PDFs and other files on GOV.WALES

Legal documents and PDF

For legal documents, you will have to check the subject matter experts and or lawyers, the exact requirements. You may gain agreement that publication does not require a PDF and that you can publish the information as a web page.

This can be more difficult if a stamp or signature needs to be displayed. In that case a PDF might be unavoidable.

Emphasise user needs in your discussion. What do you expect people to do? Download, sign and return the PDF or just read it. If the PDF is for information only, a web page is the ideal way to publish the document.

What recommendations do you have for setting up a long publication so that it will work in HTML format (for example an annual report)?

Plan the images, graphs and tables and layout from the start and work with your design team/agency to ensure all assets are accessible.

Discuss options for landscape images, font size for diagrams and alternative and additional options for CSV file of data tables.

Consider breaking down a long publication into chapters and publish one chapter per web page. This can make larger online publications easier to navigate. It is important to make sure that your website can support long publications in HTML, you might need to build new templates to ensure the best experience for your users.

An alternative way to ensure users get the information they need is by publishing a Word (.DOCX) file instead of a PDF. Users can open these in their preferred word processing software and change the document formatting to better suit them.

Such changes include:

  • increasing text size
  • changing the font
  • changing the text or background colours
  • increasing word or line spacing

Word files can also be easily ported to Braille readers.

What research proves HTML is better than PDF?

The Government Digital Service (GDS) states Compared with HTML content, information published in a PDF is harder to find, use and maintain”.

Read their blog Why GOV.UK content should be published in HTML and not PDF to find out about the other problems with PDFs.

Is there still a place for PDF?

The answer is it depends.

GDS’ blog explains why they remain popular in government. One example includes control over the layout and design.

It all comes back to the user’s needs:

  • Do they have time to download the PDF?
  • Will they do it on their phone or tablet?
  • Will the layout help communicate information?

PDFs can be unwieldy, slow to download and costly to update.

Consider the needs of the people you are publishing the information for. Engage with them early to explore alternative options that may better meet their needs.

Dos and don’ts on designing for accessibility

Continue your accessibility journey

We suggest you keep asking about the users’ needs at the planning stage. Ask if people have thought about a web page as an asset, instead of a PDF. Explain the advantages of presenting information in HTML. Making your communication, your content and your message more accessible means everyone will benefit.

Use our guidance on Accessible communications

Watch our webinars:

Explore tutorials on how to make something HTML and how to accessibility check a PDF

HTML

PDF

With thanks to our panellists for contributing to this blog:

  • Stephanie Hill, Digital Content Lead, UK Health Security Agency
  • Samantha Merrett, the Accessibility Lead at the Food Standards Agency
  • Chris Comber, Graphic Designer for GRS/GBS in the Cabinet Office
  • William Rees, Senior Content Designer and accessibility specialist at the Welsh Government
    Image credits:
  • GOV.UK (1)
  • Blog cover image/Stephanie Hill (2)