PDFs on your website: when to use HTML instead, and how to make PDFs accessible
For most things visitors need to read or act on, a web page is better than a PDF. HTML reflows to fit a phone, works with zoom, and is far easier to make accessible. Keep PDFs for documents people genuinely need to print, sign or keep, such as an invoice or a formal record. When you do publish a PDF, make it a tagged PDF with real headings, alt text for images, a document title, a language and a sensible reading order. W3C publishes a set of WCAG techniques just for PDFs, which shows they are expected to meet the same success criteria as your pages.2
Why HTML usually wins
The UK Government Digital Service set out the case in a 2018 post. Its arguments apply to an online store as much as to a government site:1
- PDFs do not fit the screen. Their layout is fixed, so on a phone people pinch and scroll. HTML changes size to fit the browser.
- They are built for print. The post says PDFs are not designed for reading on screens.
- They take people out of your site. A visitor who lands on a PDF from a search engine loses your navigation, your basket and every link back to your products.
- They are harder to access. A PDF is only accessible if it is carefully tagged, and even then it limits people's ability to change text size or colours.
- They go out of date. PDFs are harder to update, and downloaded copies live on with old prices and policies.
The author added that PDFs still have a place, for example as a fixed record, and suggested publishing them alongside an HTML version rather than instead of it.1 Reflow makes the same point from the accessibility side: WCAG 1.4.10 asks that content can be read at 320 CSS pixels wide without scrolling in two directions,8 which a fixed-layout PDF page rarely manages.
Store content that should be a web page
| Content | Better as | Why |
|---|---|---|
| Size guide | An HTML table on the product page or a size guide page | Read while choosing a size, often on a phone |
| Care or assembly instructions | A web page with numbered steps and described images; a PDF copy for printing if useful | Easy to follow and to update |
| Returns, delivery and terms | Web pages | Linked from checkout and footer; must stay current |
| Price list or catalogue | Your product pages, with a PDF for trade customers if needed | Prices change; product pages are already accessible to check |
| Order form to print and post | An online form, with the PDF as a fallback | An online form is easier to make accessible and to test |
| Invoice or certificate | A PDF is reasonable | People keep and print these; make the PDF accessible |
What makes a PDF accessible
WebAIM explains that a PDF has three layers: what you see, the content, and the tags. Tags are a set of standard structure types, such as headings, lists, tables and links, that assistive technology reads. They do not change how the document looks. Without tags, WebAIM says, a PDF would not be considered accessible.3
W3C's PDF techniques list what to get right.2 The main ones:
- Headings marked with heading tags (PDF9), and bookmarks for long documents (PDF2).
- Alt text for informative images (PDF1), and decorative images marked as artifacts so they are skipped (PDF4).
- Correct reading and tab order (PDF3), so a two-column page is not read straight across both columns.
- Real tables marked up with table tags (PDF6), and lists with list tags (PDF21).
- Links with meaningful text (PDF11).
- A document language (PDF16), which W3C lists as a sufficient technique for 3.1.1 Language of Page.6
- A document title (PDF18), which W3C lists as a sufficient technique for 2.4.2 Page Titled.7
- Real text, not a scan: OCR for scanned documents (PDF7).
- Labelled form fields in fillable forms (PDF10), with required fields indicated (PDF5).
How to create an accessible PDF
- Start with an accessible source document. WebAIM says a well-built Word document "should contain almost all the information necessary for an accessible PDF": headings, alt text, marked decorative images, table structure, descriptive links, lists, good contrast and a document title.4 Use the built-in heading styles rather than bold text.
- Export with tags. Use Acrobat's PDFMaker (Create PDF) or File, Save As, PDF, and check that the option for document structure tags for accessibility is on.4 WebAIM warns: never create a PDF with the Print option in Office, because it loses headings, alternative text and other tags.4 On a Mac, WebAIM notes that tagged export depends on your Office version, and PowerPoint cannot export a tagged PDF in any version of Office for Mac.4
- Check and repair. Some cleanup in Acrobat may still be needed.4 Acrobat Pro's Accessibility Check flags issues such as wrongly nested headings, missing alternative text and table header problems, and its Reading Order tool and Tags panel let you fix structure.5 The checker prompts you to check contrast yourself.5
- Read it with a screen reader. A checker confirms tags exist; it cannot tell you whether the reading order makes sense or the alt text is accurate.
If a PDF has no tags or a broken tag structure, WebAIM recommends fixing the source document and creating the PDF again rather than patching it.4
Linking to PDFs
Tell visitors what they are about to open. Link text such as "Care instructions (PDF, 1 page)" warns screen reader and mobile users that a file is coming, and lets them choose. See link text that makes sense out of context. If an HTML version exists, link to it first.
On Shopify and WordPress
On Shopify, size guides and care instructions can live in a page, in a product description, or in a theme block, and a table in a page or description is usually better than an uploaded PDF or image. On WordPress and WooCommerce, the block editor's Table and Heading blocks give you real structure without a PDF. In both, search your files for old PDFs that are still linked from product pages or the footer, and decide for each whether it should become a page, be fixed, or be removed.
Checking what you have
- List every PDF linked from your site, starting with ones linked from product pages, checkout and the footer.
- For each, ask whether it should be a web page instead.
- For PDFs you keep, run Acrobat's accessibility check and read the document with a screen reader.
Web pages are easier to check than PDFs. Jralo's free check tests your homepage and up to five linked pages against WCAG 2.2 A and AA, and helps you understand which countries' accessibility laws may be relevant, with a link to a guide for each (general information, not legal advice). Automated tools find many problems, not all, which is one more reason to move important content out of PDFs and into pages you can test every day.
What else do people ask?
Does WCAG apply to PDFs on my website?
W3C publishes WCAG techniques specifically for PDF documents, such as PDF16 for setting the document language and PDF18 for the document title, and lists them as sufficient techniques for success criteria like 3.1.1 and 2.4.2. A PDF on your site is content visitors use, so test it like any other page.
Is "Print to PDF" good enough?
No. WebAIM warns never to create a PDF with the Print option in Office, because it loses headings, alternative text and other tags. Use Save As PDF with the option for document structure tags, or Acrobat's PDFMaker, starting from a well-structured source document.
What about scanned documents?
A scanned page is just a picture of text, so a screen reader has nothing to read. W3C's technique PDF7 covers performing optical character recognition (OCR) to provide real text. Even after OCR, check the result and add the structure, or better, retype the content as a web page.
Check your site now
Jralo's free check tests your homepage and up to five pages for accessibility (WCAG 2.2 A and AA) and website QA problems, and tells you which countries' accessibility laws are likely relevant to you. No sign-up.
Run the free checkWhere do these facts come from?
Every number and legal statement in this post links to one of these sources, read on 13 October 2026.
- Government Digital Service blog: Why GOV.UK content should be published in HTML and not PDF (Neil Williams, 16 July 2018)
- W3C WAI: Techniques for WCAG 2.2 (PDF techniques)
- WebAIM: PDF Accessibility, Defining PDF Accessibility
- WebAIM: PDF Accessibility, Converting Documents to PDF
- WebAIM: PDF Accessibility, Acrobat Pro accessibility tools
- W3C WAI: Understanding Success Criterion 3.1.1 Language of Page
- W3C WAI: Understanding Success Criterion 2.4.2 Page Titled
- W3C WAI: Understanding Success Criterion 1.4.10 Reflow
More questions
- EN 301 549 explained: the European accessibility standard and WCAG
- Jralo MCP real-time alerts: website monitoring for your agent
- Why are so many website accessibility lawsuits filed in New York?
- Shopify accessibility statement: free feedback wording
- California's Unruh Act and websites: what store owners should know
- PHP2Shell: is your website affected, and what to do
- Black Friday checkout accessibility: a one-week checklist
- Israel's website accessibility regulations explained
- WCAG 1.4.13 Content on Hover or Focus: a Shopify test
- India's RPwD Act 2016 and websites: what businesses need to know
- France: accessibility rules for online shops (EAA and RGAA)
- Germany's BFSG: what it means for online shops
- WCAG 1.4.12 Text Spacing: how to test a Shopify store
- Does Australia's Disability Discrimination Act apply to websites?
- AODA website requirements checklist for Ontario businesses
- Skip links on a Shopify theme: what WCAG 2.4.1 requires
- Does the UK Equality Act 2010 apply to my website?
- What makes a good page title for product, collection and checkout pages?
- Why do I need to set the page language for screen readers?
- How do I make log-in and CAPTCHA accessible under WCAG 3.3.8?
- How do I make animation and motion on my website accessible?
- How do I make data tables and size charts accessible?
- How do I write accessible form error messages?
- How do I make product search, filters and sorting accessible?
- Does my website still work when visitors zoom in? Resize and reflow explained
- How big do buttons and links need to be under WCAG 2.5.8?
- How do I make a cookie consent banner accessible?
- How do I make pop-ups and modal dialogs accessible?
- How do I write link text that makes sense out of context?
- Why does heading structure matter for screen reader users?
- Visible focus: why removing outlines hurts, and what WCAG 2.2 asks
- Accessible navigation and mega menus
- Accessible product image galleries, sliders and carousels
- How to make a Shopify cart drawer accessible
- Accessible Shopify variant pickers and colour swatches
- The European Accessibility Act: a step-by-step plan for small online sellers
- ADA Title III and websites in plain English
- What to put in an accessibility statement
- How to make a WooCommerce store accessible
- How to fix accessibility issues without breaking your theme
- How to make a Shopify theme accessible: settings, apps and what to check
- Captions, transcripts and audio description for product and marketing video
- What a screen reader user hears on your product page, and how to fix it
- Accessible forms and checkout: labels, errors and autocomplete
- How to test your website with only a keyboard in 10 minutes
- Colour contrast explained: what WCAG asks and how to fix brand colours
- Why automated accessibility testing finds some problems but not all
- How do I write alt text that actually helps?
- What did WCAG 2.2 add to WCAG 2.1?
- How can I prove my website is monitored for accessibility?
- Does the European Accessibility Act apply to my online store?
- Do accessibility widgets make a website ADA compliant?
- Got an ADA website demand letter? What to do first
- How do I check if my website is accessible? A 15-minute method
- Website accessibility laws by country (2026)