Research Guides
Keep Mixed-Direction Review Quotes Readable Without Changing Them
An Arabic or Hebrew review excerpt can be copied correctly but still appear confusing in an English report. Punctuation or a nearby version number may appear out of place unless the quotation’s text direction is handled separately from the surrounding sentence.
Keep the source wording and its visual presentation separate
Save the authorized source text and a link before testing the layout. Suppose a fictional English report shows an Arabic review title followed by “(version 3.2).” Check that the parentheses and version belong to the report’s English text, not to the title. Don’t rearrange characters in the stored source to make one visual preview look right. Preserve the original order of the characters.
Isolate the excerpt without changing its words
The W3C guidance on inline bidirectional markup recommends tightly wrapping an opposite-direction phrase. If the direction of an inserted title is unknown, it describes using bdi or a span with dir="auto". If you know the direction, use the appropriate directional markup; keep punctuation that belongs to the excerpt inside its wrapper and editorial punctuation outside it. This is different from declaring the language, which readers and assistive technology may also need. See the language declaration worksheet.
Check the version label on the published output
Test a right-to-left excerpt and a left-to-right control sample in the same report template. Include a number or parentheses next to each, then verify that a reader can tell what the punctuation belongs to. Compare a narrow rendering with the wider layout. If the report also has a PDF or another export, check that output independently; correct HTML does not establish that a converter preserved the display. Keep any translation separate from the original quotation.
Copy this publication check
Source and excerpt | expected direction | markup used | adjoining punctuation or version label | output checked | source wording unchanged
Fix the wrapper, not the quote, when the wording is correct and only its surrounding display is wrong.