"press 's' to search" uses KeyboardEvent.code
On pages like the GTK docs, the search field says "Click, or press 's' to search". This has never worked for me, in any browser I tried. Today, I dug into gi-docgen to figure out why it had this placeholder text when it clearly didn't do anything.
I found that main.js uses event.code === "KeyS"
for the test. As MDN says, this property is a physical key, not a logical one -- it ignores the keyboard layout. When I tried pressing the 'o' key on my keyboard, the search box focused itself.
I think that main.js should test the KeyboardEvent.key
property instead.