Skip to content

Conversation

@Abhi-Sharma
Copy link

The current documentation states that all keydown events count as user activation except the Esc key and browser-reserved shortcut keys.
However, in practice, several additional keys do not trigger user activation in major browsers (Chrome, Firefox), such as CapsLock, NumLock, and other lock/system keys.

This update clarifies that user activation is not triggered by certain non-character or system keys, making the documentation more accurate and aligned with real browser behavior.

image

@Abhi-Sharma Abhi-Sharma requested review from a team and mdn-bot as code owners December 10, 2025 04:02
@Abhi-Sharma Abhi-Sharma requested review from LeoMcA and estelle and removed request for a team December 10, 2025 04:02
@github-actions github-actions bot added Content:HTML Hypertext Markup Language docs Content:Learn Learning area docs Content:Security Security docs size/xl [PR only] >1000 LoC changed labels Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:HTML Hypertext Markup Language docs Content:Learn Learning area docs Content:Security Security docs size/xl [PR only] >1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant