Re: [w3c/uievents] Review whether `key`, `code` etc should be present in legacy `keypress` events (Issue #349)

`input` (and `beforeinput`) are fired only in editable content, and `keypress` indicates that the "key press" introduces a text input. Therefore, I think that `.key` of `keypress` may be required by some web apps which handle text input without editable element.

Additionally, it's already spent a while after shipping the new `KeyboardEvent` attributes. Therefore, it may be risky to change `keypress` events attributes too.

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

Message ID: <w3c/uievents/issues/349/1633424410@github.com>

Received on Thursday, 13 July 2023 02:01:17 UTC