Skip to content

RTL FAQs for Developers Testers

Samyak Bhuta edited this page Sep 17, 2013 · 3 revisions

1. How do we enable RTL (Right-to-Left) writing ?

As an enduser.

Firefox
  • Press Ctrl+Shift+X ( for Mac it would be Option+Shift+X )
Chrome
  • RTLing individual textfield/textarea/contenteditable.
    • Right Click > Choose Writing Direction > Choose Right to Left. See attached screenshot below. screen shot 2013-09-14 at 6 09 23 pm
Safari
IE

As a developer

Quickest way to enable your page to support RTL writing is adding dir="rtl" attribute in body tag. You page would looks something like this after the attribute has been added.

<body dir="rtl">
... rest of the body
</body>