Monday, August 12, 2019

accessibility - Cursor position and movement in Bidi Input.


In the case of Bidi input, where both RTL and LTR types languages can be mixed together, what should be the cursor position? And what should be the movement of the cursor with Home and End buttons?


At first, I thought that the cursor should always be placed where the next character is going to be placed. I mean for next e the cursor should be like (assuming | as the cursor)-


peac|سلام

But in many places, it is like-


|peacسلام

One advantage in the later approach is, when the language mode will be RTL again, the cursor position will be same. While in the first approach, it has jump to the left-most.


And should the behaviors of Home and End key change with RTL and LTR? Or should it remain same?





No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...