w3c / hlreq

Hebrew script layout requirements
Other
8 stars 9 forks source link

Doubling-click around maqaf doesn't behave as expected #17

Open r12a opened 3 years ago

r12a commented 3 years ago

Hebrew text is generally similar to Latin text in regard to what is selected when the user double-clicks on some text. The only issue to note is selecting and moving through text that includes the character maqaf, the Hebrew hyphen. It should behave like a hyphen.

It appears to be implemented correctly in Chrome and Firefox with regards to double clicking, moving through words using Ctrl-Arrow while editing text in a textarea, and long-pressing on mobile devices, but on some other platforms it may behave incorrectly, given that it's not a global punctuation character like the Latin hyphen.

r12a commented 3 years ago

The first comment in this issue contains text that will automatically appear in the Hebrew gap-analysis document as a subsection with the same title as this issue. Any edits made to that comment will be immediately available in the document. Proposals for changes or discussion of the content can be made in comments below this point. The initial text of that comment was provided by Amir Aharoni.