clreq icon indicating copy to clipboard operation
clreq copied to clipboard

Behavior of double-clicking on Chinese text

Open xfq opened this issue 5 years ago • 3 comments

I wrote a test about double-clicking on Chinese text. See a summary of the result.

What would be the expectation of the average Chinese user for the case in https://github.com/w3c/character_phrase_tests/issues/31 ? If a user clicks inside 她哭了, (depending on where you click) should the browser highlights one of 她/哭/了, or 她/哭了? (The latter is the behavior of Chrome and Safari.)

xfq avatar May 23 '20 02:05 xfq

Speaking from my experience, I don't really have any expectation on double clicking behavior as they usually doesn't work. However, if it is to be made work, while I cannot answer whether 她/哭/了 or 她/哭了 is more desired, I can say in other sentence with same structure, 她/抵擋/了 is more favorable than 她/抵擋/了. That is because 抵擋 here is a vocabulary (verb), while the 了 is just another additional element that represent the starus of the word. Now, I can't personally tell whether the same citcunstances should also applies to one-character-words, because some might expect double click to select more than one character and include the supplementary element (狀語 or 補語) in selection in case the word is only a one-character-word? I don't know how most people expected it to function in such case.

c933103 avatar May 23 '20 09:05 c933103

We discussed this issue at the editors' call, but no conclusion yet: https://www.w3.org/2020/06/10-clreq-minutes.html#t09

xfq avatar Jun 11 '20 07:06 xfq

Ideally, we should have the ability to customize dictionaries.

A bit related: https://github.com/tc39/proposal-intl-segmenter/issues/133

xfq avatar Apr 22 '24 05:04 xfq