w3c / webextensions

Charter and administrivia for the WebExtensions Community Group (WECG)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inconsistency: Commands API support for `Cmd+Alt` on Apple OSs

rishikramena-ms opened this issue · comments

Ctrl+Alt is not considered a valid combination for extension shortcuts in Windows as it interferes with the behavior of the AltGr key and in order to maintain consistency across platforms, we disallow it for Mac as well.

For Chromium in Mac, Cmd key specified for shorcuts in the manifest is normalized to Ctrl key because of which Cmd+Alt is also disallowed in Mac. Firefox allows this Cmd+Alt combination for its extensions shortcuts.

Should we reconsider allowing Cmd+Alt as a valid combination in Mac?

Tagging @xeenon for broader consideration of OS-specific keyboard shortcut conventions on macOS/iPadOS and current Safari behavior.

I tweaked the title to adjust the framing. This group tries to avoid browser-specific discussions, but we actively encourage cross-browser collaboration and resolving inconsistencies across browsers.