w3c / input-events

Input Events
https://w3c.github.io/input-events/
Other
24 stars 16 forks source link

'deleteWordForwards' and 'deleteWordBackwards' not well defined #72

Open r12a opened 7 years ago

r12a commented 7 years ago

[from Addison Phillips]

https://w3c.github.io/input-events/#interface-InputEvent-Attributes

Word deletion in some languages non-space-delimited languages requires a dictionary or other intervention to get right. This should be carefully defined.

Also it may be worth clarifying that logical order should be used when talking about forwards and backwards (because of the different visual orders when bidi text is displayed).

johanneswilm commented 6 years ago

@aphillips @r12a Right, but this is about the intention to delete a word backward or forward (by clicking certain keys or choosing something in a menu). It does not say anything about the UA's or JavaScript apps ability to actually correctly guess what constitutes a word. As has been discussed previously in the editing taskforce, we are currently not in a position where we can standardize and/or agree on what constitutes a word or make any rules concerning that.

johanneswilm commented 6 years ago

@r12a @aphillips To me, backward and forward are -- differently than right or left -- logical directions already. Could you clarify how these directions could be misunderstood in bidi or rtl text?

johanneswilm commented 5 years ago

Based on the meeting at TPAC, we are waiting for a a suggestion on how to adjust the explanatory note text from @r12a .