Re: [w3c/editing] Different browser behaviors when moving the caret by one word. (#278)

I don't think there is a good way to standardize this behavior considering the fact that each language can have different set of word breaking rules (See the Notes section in UAX#29 that talks about the complexities around these rules). There is also OS specific behavior and at least on Windows we don't want to change the existing behavior as there are screen readers that depend on these platform specific word breaking rules. Changing this would have accessibility implications.
e.g. abc| def where | represents the caret's location, when user presses ctrl+right arrow on Windows it is supposed to move the caret to |def, but on Mac when user tries to move right it always places the caret at the end of the word def| (which is also what I would expect as a mac user). Chromium had some weird behaviors in the past, but I fixed most of them at least on Windows to adhere to the platform word breaking rules.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/278#issuecomment-777814470

Received on Thursday, 11 February 2021 21:48:58 UTC