I am using a right-to-left language with dir='rtl' on the body element.
So the whole page flows as it should from right to left.
For some reason alt text within images are displayed backwards.
Here’s a jsFiddle.
Any simple solution?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This is a bug in Chromium, reported in 2010 as RTL: Hebrew alt text rendered left-to-right when images disabled, with apparently no progress.
By the specifications, text entirely in Hebrew letters is to be displayed right to left independently of
dirattribute settings. In some browsers,dir=rtlhelps, but not here. For some reason,alttext rendering in Chrome does not apply directionality information the same ways as normal text rendering does – after all, it probably uses separate routines internally. Using control characters for directionality inside the attribute value does not help.