[i18n-drafts] [questions/qa-html-dir] Should this document cover caret movement in forms? (#295)

settinger has just created a new issue for https://github.com/w3c/i18n-drafts:

== [questions/qa-html-dir]  Should this document cover caret movement in forms? ==
[source] (https://w3c.github.io/i18n-drafts/questions/qa-html-dir) [en]

I got here via the mlreq repository, where there is also an open question about caret movement via the directional keys. As far as I can tell, w3c offers no guidance to developers on expected caret-movement behavior. This leads to inconsistencies, e.g. in the `textarea` field at the bottom of this article:

|    | Firefox, `dir='ltr'` | Firefox, `dir='rtl'` | Chrome, `dir='ltr'` | Chrome, `dir='rtl'`
|----|----|----|----|----|
|**Pressing "left" in English text**| caret moves left | caret moves left | caret moves left | _caret moves right_
|**Pressing "left" in Hebrew text**| caret moves left | caret moves left | _caret moves right_ | caret moves left
|**Pressing "right" in English text**| caret moves right | caret moves right | caret moves right | _caret moves left_
|**Pressing "right" in Hebrew text**| caret moves right | caret moves right | _caret moves left_ | caret moves right

I understand that, for static text, there is the concept of [visual and logical ordering](https://www.w3.org/International/questions/qa-visual-vs-logical); would it be viable to extend those definitions to caret movement and clarify what the expected behavior should be? Or request that developers give users an option to switch between visual/logical caret motion?

Looking forward to eventually seeing a "Structural markup and vertical text in HTML" page as well :)

Please view or discuss this issue at https://github.com/w3c/i18n-drafts/issues/295 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 11 May 2021 21:14:31 UTC