Other PDF Issues

How to Fix RTL and LTR Reading Order in Accessible PDFs

Aamir Naveed AkramAamir Naveed Akram Oct 28, 2026 869 views

Question details

The user needs to correct the reading order for screen readers in accessible PDFs that mix Right-to-Left (RTL) and Left-to-Right (LTR) text.

How to Fix RTL and LTR Reading Order in Accessible PDFs
Product
PDF
Device & OS
not provided
Scenario
Improving PDF accessibility formatting so that a screen reader natively handles documents containing mixed-direction text formats, such as Arabic or Hebrew with English phrases.
Observed behavior
Screen readers read mixed RTL and LTR text out of logical sequence if the document language and structural tags are not properly defined.
Before you start

Ensure you have a PDF editor with an advanced accessibility tags tree feature and a screen reader (such as NVDA or JAWS) to verify the changes.

Solution 1Recommended

Set Document Language and Use Span Tags for LTR Text

Define the primary right-to-left document language and isolate the left-to-right text within specific Span tags so the screen reader switches directions appropriately.

To ensure a screen reader interprets mixed-direction text accurately, the overarching paragraph must follow the primary language's rules, while the embedded foreign text needs explicit structural boundaries.

1
Set the Primary Document Language

Open your PDF editor's document properties and set the primary language metadata to the appropriate right-to-left language (e.g., Arabic or Hebrew).

2
Create Span Tags for LTR Text

Access the PDF accessibility Tags pane. Locate the right-to-left paragraph containing the mixed text, and place each left-to-right expression (like an English phrase) into its own <Span> tag.

3
Assign Language to the Span Tag

Right-click the newly created <Span> tag, select Properties, and set the language attribute to the appropriate left-to-right language (e.g., English).

4
Test with a Screen Reader

Run a screen reader over the tagged PDF to verify that the mixed RTL and LTR reading order flows logically, adjusting the tag structure if further correction is necessary.

Set Document Language and Use Span Tags for LTR Text
Accessibility Verification: Properly isolating text directions using Span tags ensures screen readers seamlessly switch pronunciation dictionaries without disrupting the sentence flow.
Free Microsoft Office alternative

Create and Manage Documents with WPS Office

While advanced structural accessibility tagging requires dedicated PDF taggers, WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office for authoring, editing, and designing your documents before converting them to PDF.

  1. 1. Download WPS Office: Visit the official WPS Office website to download the free installation package for your PC or mobile device.
  2. 2. Install the Suite: Run the installer and follow the simple on-screen instructions to set up the software.
  3. 3. Author Your Documents: Launch WPS Office to easily draft documents, manage multi-language text, and export them cleanly to PDF.
Fully compatible with Microsoft Word, Excel, PowerPoint, and PDF formatsLightweight installation ensures fast loading and smooth multitaskingBuilt-in PDF reader and editor for easy text and layout adjustmentsFree to use with a familiar, user-friendly interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does a screen reader read LTR text backwards in an RTL paragraph?

Without proper inline tagging, the screen reader assumes all text within an RTL paragraph follows the right-to-left direction, causing embedded left-to-right text (like English words) to be read completely out of logical sequence.

What is a Span tag in PDF accessibility?

A <Span> tag is an inline structural element used in accessible PDFs. It applies specific properties, such as a different language or formatting rule, to a small portion of text without breaking the overall paragraph structure.

Does the primary document language affect how tags behave?

Yes. Setting the primary document language establishes the default reading and pronunciation rules for screen readers. You only need to use Span tags to override these rules for specific sections that deviate from the primary language.

How do I test my PDF's reading order effectively?

You can test the reading order by using the 'Read Out Loud' feature in standard PDF viewers, or by testing the document with dedicated screen reading software like NVDA, JAWS, or VoiceOver to ensure the text flows correctly.