---
title: "Behind the scenes: international keyboard shortcuts"
description: "Figma reworked its US-QWERTY-centric keyboard shortcuts to support about 15 international layouts, including German, French AZERTY, Japanese, Swedish and Korean."
url: "https://swe.quest/articles/behind-the-scenes-international-keyboard-shortcuts-8088a7a096d216ad"
canonical: "https://www.figma.com/blog/behind-the-scenes-international-keyboard-shortcuts/"
source: "Figma"
published: "2023-02-28"
difficulty: "medium"
kind: "Case study"
reading_minutes: 11
tags: ["browsers","frontend","accessibility","product-engineering"]
---

# Behind the scenes: international keyboard shortcuts

A post on [Figma](https://swe.quest/sources/figma.md), published 2023-02-28, 11 min read, Case study. Original: [https://www.figma.com/blog/behind-the-scenes-international-keyboard-shortcuts/](https://www.figma.com/blog/behind-the-scenes-international-keyboard-shortcuts/)

## Summary

Figma reworked its US-QWERTY-centric keyboard shortcuts to support about 15 international layouts, including German, French AZERTY, Japanese, Swedish and Korean. The work ran into several traps. \`"ß".toUpperCase()\` returns \`SS\`, which broke shortcut normalization until the team switched to the capital eszett \`ẞ\`. Dead keys such as \`^\` on AZERTY collide with Safari's reordering of keydown and composition events, and Shift plus numpad keys override numlock. Layout detection is heuristic: the desktop app reads OS layout IDs and needed prefix matching after Apple renamed its Japanese layouts, while browsers rely on the experimental Keyboard API. The team stores layout preferences per device in localStorage with a backend fallback, and dropped auto-switching layouts in favour of minimally intrusive onboarding.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)
- [Accessibility](https://swe.quest/tags/accessibility.md) (Web & mobile)
- [Product engineering](https://swe.quest/tags/product-engineering.md) (Engineering organization)

## Prerequisites

- DOM KeyboardEvent basics
- browser input events

## Keywords

Figma, KeyboardEvent, Keyboard API, Safari, AZERTY, dead keys

## Related posts

- [macOS Keyboard Shortcut Localization](https://swe.quest/articles/macos-keyboard-shortcut-localization-1481e739a6eaeda6.md): Zed · 2024-11-08 · Medium · 5 min read · Developer tools, Swift
  Zed 0.162 reworks macOS keyboard shortcut handling so default bindings work on non-Latin, IME-based and non-US Latin layouts.
- [Zed Weekly: #24](https://swe.quest/articles/zed-weekly-24-ca50786cbb34184d.md): Zed · 2023-10-20 · Medium · 5 min read · Developer tools, Rust
  Weekly roundup from the Zed editor team covering a range of fixes and features.
- [Implementing Vertical Form Controls](https://swe.quest/articles/implementing-vertical-form-controls-0957876d48409686.md): WebKit · 2024-03-18 · Medium · 4 min read · Browsers, CSS, Frontend
  Safari 17.4 supports vertical writing modes (\`writing-mode: vertical-rl\` / \`vertical-lr\`) on button, textarea, progress, meter, input and select elements, part of the Interop 2023 effort for CJK and Mongolian text.
- [A conversation with Figma's accessibility team](https://swe.quest/articles/a-conversation-with-figma-s-accessibility-team-4d7c0aee064f1f20.md): Figma · 2022-11-17 · Easy · 9 min read · Accessibility, Frontend
  Figma's accessibility engineers and PM reflect on shipping screen reader support for prototypes and a FigJam beta.
- [WebKit Features in Safari 17.4](https://swe.quest/articles/webkit-features-in-safari-17-4-28d81cae61957dde.md): WebKit · 2024-03-05 · Medium · 31 min read · Browsers, CSS, Frontend
  Safari 17.4 ships 46 web platform features and 146 bug fixes, alongside completion of WebKit's multi-year rewrite of its inline layout engine.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
