Re: [w3c/selection-api] Define behavior for user action of "selecting all". (#105)

> the underlying concept of "Select All" could be described in a separate section.

Defining the `Selection` api's `selectAllChildren()` semantics seems useful,

> `selectAllChildren` of the API would invoke it. Moreover, a "User actions" section would describe various means (on-screen keyboard, hardware keyboard, context-menu, perhaps others) in a platform-independent manner, which invoke that concept too.

...but not tightly mapped to what a user invoking their browser's "Select All" action should do (except perhaps as a default action in a normal DOM page editing context).

If the visited web app is some kind of productivity app or game, that seems to fall under #56. DOM tree operations like `selectAllChildren` would not be the wanted immediate effect, rather something the app can capture to translate it to arbitrary actions like "select all emails", "select all the tavern's inventory", or whatever its current context is about.

-- 
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/selection-api/issues/105#issuecomment-501058254

Received on Tuesday, 11 June 2019 23:15:25 UTC