• Success Criterion 3.1.1
  • Conformance level A

PDF Document Published With No Language Metadata Set

3.1.1 — Language of Page

Scenario

Setting

A ride-hailing app's trip booking screen

What’s wrong

PDFs without the /Lang document entry.

Example

<html>

Why it matters

Screen-reader users who need correct pronunciation, and tools that depend on language metadata.

How to test

Open the PDF's document properties: if there's no /Lang entry, screen readers can't determine the correct pronunciation language.

How to fix

The <html> element must carry a valid lang attribute matching the page language, updated when the site language switches.

<html lang="en">

The lang attribute tells screen readers which pronunciation and language rules to apply to the whole page.

Outcome

On a ride-hailing app's trip booking screen, this barrier is gone for screen-reader users who need correct pronunciation — they no longer have to work around this.

Who is affected

Screen-reader users who need correct pronunciation, and tools that depend on language metadata.

Learn more