The name of the keydown and onkeydown tags sounds very much like a direct reference to web APIs, namely keydown
from DOM UI Events and onkeydown
from HTML (both attribute and property). However, the blurb for each of these events doesn’t specifically mention web or anything else.
I saw keydown applied to this winforms question. That would make sense if these tags referred to a platform-independent general concept of an event which happens prior to "keyup", which might be called "keydown" or "KeyDown", or even onKeyPress
(since a single event there has properties allowing it to respond to the down, repeat, and up phases). However, it would not make sense if this tag were a direct reference to Web APIs.
Which is it? Can these tags’ descriptions be clarified somehow?
key-whatever-events
are predominantly the result of a misunderstanding of how input is processed. The pattern generally involves questions about keyboard events because the asker doesn't understand the broader picture, and the events aren't actually part of the solution.input-processing
is a far superior classification.key-whatever-event
. Seeing how hand-rolled input processing systems behave in web applications it seems that web developers are wildly unaware of this concept. Thanks for the confirmation.