Some keys do work in Edge but not in Firefox

Hi there,

I have a problem with the Firefox browser detecting certain keys as defined in the builder. More than happy to provide more info if necessary. At the moment, I have no idea how to proceed.

My first online experiment uses the “A” and the “L” keys as main response keys. I thus added a keyboard response component in the builder and defined the allowed response keys in the following manner: ‘a’,‘l’ . (the l is an L not an i)

Everything runs smoothly offline. Only the A and the L key are accepted as responses. I then uploaded the experiment to pavlovia. Everything runs smoothly on Edge. Everything runs smoothly on Firefox… except for the L key. It would only accept the A key. I tried switching positions to ‘l’, ‘a’: nothing changed. I then allowed all keys to work. Interestingly, the L still did not work. Some other keys also would not work (however, after pressing wildly, eventually, all keys magically worked at some point - but not anymore after restarting the experiment).

Does anybody have an idea how to fix this?

Thanks for reading,
Patrick

Please could you try adding KeyL and KeyA as additional valid responses. I’m not sure if this solution is still relevant but I got it from here: Problem running an online study

Thanks for your response! It did unfortunately not do the trick.

…I however realized that I still had the Firefox Vimium Addon active. Apparently, it suppresses the L key but not the A key. Deactivating it now fixed my issue. I had no idea how fragile scripting in JS for browsers is.