Title: RTL bug
Last modified: August 21, 2016

---

# RTL bug

 *  Resolved [Yakir Gottesman](https://wordpress.org/support/users/yakirgot/)
 * (@yakirgot)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/rtl-bug/)
 * I just upgraded the plugin on an rtl website, and it made all the elements to
   ltr. It’s not the first time there are issues with rtl. You should always test
   it also.
 * [https://wordpress.org/plugins/wp-accessibility/](https://wordpress.org/plugins/wp-accessibility/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/rtl-bug/#post-4750209)
 * Can you describe the issue, and provide a link to the site?
 *  Thread Starter [Yakir Gottesman](https://wordpress.org/support/users/yakirgot/)
 * (@yakirgot)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/rtl-bug/#post-4750233)
 * Very simple. After upgrading, my site turned LTR. I managed to fix it by body{
   direction: rtl; }.
 * I disabled the plugin, so there is no use of a link.
 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/rtl-bug/#post-4750234)
 * Your entire site turned LTR? That’s — incredibly strange. WP Accessibility doesn’t
   do anything to adjust the text direction; the only application of ltr/rtl in 
   WP Accessibility is detecting what your site currently is (based on the language
   in WP config), and adding some classes to its own code on that basis.
 * It would be helpful to see the issue; but I understand if you’ve chosen to disable
   the plug-in.
 *  Thread Starter [Yakir Gottesman](https://wordpress.org/support/users/yakirgot/)
 * (@yakirgot)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/rtl-bug/#post-4750236)
 * Look at this website. Same problem, and plugin is on.
 * [Link (temp)](http://asense.go-press.co.il/)
 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/rtl-bug/#post-4750237)
 * It looks like the site’s default language is English, so WP Accessibility is 
   injecting the default language into the HTML tag. That’s not at all new, however,
   so I don’t know why that would have caused a change in an upgrade.
 * However, you should turn that feature off; it won’t help you with a multi-lingual
   site.
 *  Thread Starter [Yakir Gottesman](https://wordpress.org/support/users/yakirgot/)
 * (@yakirgot)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/rtl-bug/#post-4750240)
 * It’s just a WPML feature, changing to English according to your browser language.
   Delete the /en/ from the URL to see the Hebrew site, which is LTR.
 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/rtl-bug/#post-4750241)
 * Yes. That’s why I’m saying you should disable that feature in WP Accessibility;
   it’s the only thing in WP Accessibility which has any impact on ltr/rtl behavior,
   and you can’t benefit from it, because the setting it’s based on is being overridden
   by WPML.
 *  Thread Starter [Yakir Gottesman](https://wordpress.org/support/users/yakirgot/)
 * (@yakirgot)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/rtl-bug/#post-4750242)
 * Come on, it only redirects. And the first install was Hebrew.
 * Now I removed WPML, and it still has this issue. Did you check on a clean RTL
   WordPress installation?
 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/rtl-bug/#post-4750243)
 * I don’t think you understand what I’m asking you to do; I don’t want you to change
   anything about WPML. WPML is fine.
 * Go to the WP Accessibility settings, and disable the option with the label “Add
   Site Language and text direction to HTML element”.
 *  Thread Starter [Yakir Gottesman](https://wordpress.org/support/users/yakirgot/)
 * (@yakirgot)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/rtl-bug/#post-4750248)
 * It was turned off. Turning it on actually fixed the problem, but I don’t think
   it is the right solution.
 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/rtl-bug/#post-4750249)
 * If turning that on fixed the problem, then WP Accessibility may not be the problem.
   What is the language attribute in your theme’s header.php file?
 *  Thread Starter [Yakir Gottesman](https://wordpress.org/support/users/yakirgot/)
 * (@yakirgot)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/rtl-bug/#post-4750270)
 * I’ll be damn. I tried to recreate the problem on a clean WordPress install, and
   it worked fine.
 * I owe you an apology!
 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/rtl-bug/#post-4750275)
 * Quite all right. I’m glad it’s something else!

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘RTL bug’ is closed to new replies.

 * ![](https://ps.w.org/wp-accessibility/assets/icon-256x256.png?rev=1097582)
 * [WP Accessibility](https://wordpress.org/plugins/wp-accessibility/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-accessibility/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-accessibility/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-accessibility/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-accessibility/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-accessibility/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/rtl-bug/#post-4750275)
 * Status: resolved