Mapping of upper row keys in Safari when using a french-language keyboard is buggy
Keyboard shortcuts on a 2022 13-inch M2 french (AZERTY physical keyboard) MacBook Pro (MacOs 15.1) is buggy.
When using Safari, shortcuts on webpages involving number keys on a laptop do not work : shortcuts assigned to 1 and 2 work as expected, but using any other key will not result in the expected action
Several month ago, another user posted about this issue with YouTube : YouTube shortcuts not working on Safari with French layout anymore
I have the exact same problem, but with other websites. It's not YouTube in itself, I use a japanese learning site where you can specify shortcuts for answers, and pressing 3, 4, 5 or 8 indicates the key as "disabled". Basically, except for 1 and 2, the entire upper row is mismatched : @ (or #), 6 (or §), ) (or °) translate to ` , 9 translates to d, 0 translates to b, - (or _) translates to ; .... and this is, I think, for all websites in Safari using ANY version of a French keyboard layout. That includes keyboards that are not for French initially : when using the keyboard for japanese, for example, you get to specify the layout for transliteration. If the layout is AZERTY (no matter what flavor : French, French-numerical, ABC-Azerty...) it will NOT work. It won't work in the Japanese- Romaji setting nor in the corresponding Japanese-Hiragana setting. If the layout is anything BUT French, it will work.
This website allowed me to figure out the remapping of keys, but it happens with other websites too.
Using the Shift-key (on a French layout, you normally have to do this to access number) or the Shift Lock-key (if using the "French-numerical" keyboard layout) also does not work.
The shortcuts work in other browsers, in any other apps. They do NOT work in Safari on an AZERTY Magic Keyboard without a numpad. On a Magic Keyboard with a numpad, the shortcuts work from the numpad, I haven't tested whether they work from the upper row keys.
tl;dr : the mapping of the upper row of keys in any French-language layout is buggy in Safari (but only in Safari), and I have no idea how to fix it.....
MacBook Pro 13″