Skip to content

Conversation

@Abhi-Sharma
Copy link
Contributor

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
@github-actions github-actions bot removed the Content:HTML Hypertext Markup Language docs label Dec 12, 2025
@github-actions github-actions bot added size/s [PR only] 6-50 LoC changed and removed Content:Learn Learning area docs size/xl [PR only] >1000 LoC changed labels Dec 12, 2025
@caugner caugner removed request for LeoMcA and mdn-bot December 12, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Security Security docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant