{
  "id": 13069811,
  "title": "Atajos de teclado: así se traducen entre Windows y Mac",
  "url": "https://urgent.news/2026/10/09/atajos-de-teclado-asi-se-traducen-entre-windows-y-mac",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-09T08:30:43.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/lu1tr0n/atajos-de-teclado-asi-se-traducen-entre-windows-y-mac-3pcn"
  },
  "original_language": "es",
  "account": "Windows and Mac have different keyboard shortcuts due to historical reasons and design choices. On Windows, Ctrl key is used as the modifier, while on Mac, it's the Command (Cmd) key. JavaScript's KeyboardEvent provides two properties: metaKey for Mac and ctrlKey for Windows/Linux, which indicate the modifier keys pressed. Backspace on Windows corresponds to Delete on Mac, and Delete on Windows corresponds to Forward Delete on Mac. The event.code property identifies the physical key, whereas event.key varies based on the keyboard layout. Some shortcuts, like Cmd+Q, Cmd+Tab, and Ctrl+Alt+Supr, are intercepted by the operating system and do not reach JavaScript. Key mapping between systems involves Windows having three modifiers (Ctrl, Alt, Shift), Mac having four (Cmd, Option, Control, Shift), and an additional Globe/Fn key on Mac for system-specific functions.",
  "summary": "Programaste un atajo con Ctrl+S y en Mac tu usuario presiona Cmd+S sin que pase nada: ese bug silencioso aparece en casi cualquier editor web que no distingue entre plataformas. Los atajos de teclado no son solo una preferencia de cada sistema operativo, sino un conjunto de nombres, teclas físicas y propiedades de evento que cambian entre Windows, macOS y Linux, y que tu código tiene que manejar…",
  "key_points": [
    "Windows uses Ctrl as modifier key while Mac uses Command (Cmd)",
    "JavaScript's KeyboardEvent has metaKey for Mac, ctrlKey for Windows/Linux",
    "Backspace/Delete key mapping differs between Windows and Mac systems"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}