Skip to content

FF118 keyboard value for Window Event tidy#43942

Merged
dipikabh merged 1 commit into
mdn:mainfrom
hamishwillee:ff118_keyevent_windows_meta
May 4, 2026
Merged

FF118 keyboard value for Window Event tidy#43942
dipikabh merged 1 commit into
mdn:mainfrom
hamishwillee:ff118_keyevent_windows_meta

Conversation

@hamishwillee
Copy link
Copy Markdown
Collaborator

FF118 fixed a bug on the returned key when pressing the Windows key. This tidies up the note to make it clear the version that the issue was fixed.

Fixes #43940

@hamishwillee hamishwillee requested a review from a team as a code owner April 27, 2026 01:18
@hamishwillee hamishwillee requested review from dipikabh and removed request for a team April 27, 2026 01:18
@github-actions github-actions Bot added Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed labels Apr 27, 2026
</table>

\[1] In Firefox, the <kbd>Windows</kbd> key is reported as `"OS"` instead of as `"Meta"`. This will be changed in Firefox per [Firefox bug 1232918](https://bugzil.la/1232918). Until that's fixed, these keys are returned as `"OS"` by Firefox: `VK_LWIN` (0x5B) and `VK_RWIN` (0x5C) on Windows, and `GDK_KEY_Super_L` (0xFFEB), `GDK_KEY_Super_R` (0xFFEC), `GDK_KEY_Hyper_L` (0xFFED), and `GDK_KEY_Hyper_R` (0xFFEE) on Linux.
\[1] Firefox 118 and later correctly report the <kbd>Windows</kbd> key as `"Meta"` (earlier versions reported the key as `"OS"`).
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a minimal fix. Normally this stuff would be in BCD, but we don't have that for tracking this level of information.

@github-actions
Copy link
Copy Markdown
Contributor

Preview URLs (1 page)

Flaws (2)

Found an unexpected or unresolvable flaw? Please report it here.

URL: /en-US/docs/Web/API/UI_Events/Keyboard_event_key_values
Title: Key values for keyboard events
Flaw count: 2

  • macros:
    • Macro defaultapisidebar produces link /en-US/docs/Web/API/Element/select_event which is a redirect
    • Macro defaultapisidebar produces link /en-US/docs/Web/API/Window/abort_event which doesn't resolve

Copy link
Copy Markdown
Contributor

@dipikabh dipikabh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dipikabh dipikabh merged commit b7c69f7 into mdn:main May 4, 2026
8 checks passed
pepelsbey added a commit to pepelsbey/mdn-content that referenced this pull request May 6, 2026
* upstream/main: (150 commits)
  PWA relative links (mdn#43953)
  feat(jsondata): add `external_link` translation key (mdn#43978)
  Clarify when var() falls back to its second argument (mdn#44015)
  Correct incorrect filename on learn assessment (mdn#44012)
  FF151 Relnote CanvasRenderingContext2D.lang (mdn#44010)
  FF151: Update container style queries support (mdn#44002)
  Firefox experimental features clean-up (mdn#43887)
  FF151 Relnote: shadowrootslotassignment (mdn#43881)
  Editorial review: Document WebGPU compatibility mode (mdn#43944)
  Correction of solution (mdn#44001)
  Synchronize with BCD v7.3.14 (mdn#44007)
  Editorial review: Document texture_and_sampler_let WGSL feature (mdn#43768)
  Editorial review: Document NavigationTransition.committed (mdn#43692)
  Update window.open on document / window creation and load behavior (mdn#43913)
  FF151 Relnote: keyboardLock option for Element.requestFullScreen() (mdn#43883)
  FF118 keyboard value for Window Event tidy (mdn#43942)
  Bump yaml from 2.8.3 to 2.8.4 (mdn#44005)
  Rename Stylesheet glossary definition to Style sheet (mdn#43997)
  Clarify else-if evaluation order (mdn#43917)
  chore(dictionaries): add technical terms flagged by spelling check (mdn#43907)
  ...

# Conflicts:
#	files/en-us/web/api/svgscriptelement/async/index.md
#	files/en-us/web/api/svgscriptelement/index.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"windows" key no longer reports "OS" (Firefox)

3 participants