oxalorg / 4ever-clojure

Pure cljs version of 4clojure, meant to run forever!
https://4clojure.oxal.org
230 stars 28 forks source link

Keyboard focus gets stuck at code text-area #52

Open avidrucker opened 2 years ago

avidrucker commented 2 years ago

Goal: I want to submit my exercise answers w/o using a mouse.

Issue: I am unable to Esc or Tab out of the code text-area to the "Run" button to submit my code answers. It might seem that the focus is stuck in the code text-area... but I have the ability to "Tab-Shift" back out in the opposite direction. Is there a keyboard shortcut to submit my exercise answers?

Proposed Solution: Not sure exactly how atm, but, to enable keyboard only navigation and usage of 4ever-clojure. Accessibility fixes and/or keyboard shortcuts could be possible resolution routes.

Would it be helpful for me to investigate potential fixes?

Thank you guys for making 4Clojure continue on!

Ps. I also noticed that the successful exercise submission modal does not trap user focus as it should - this will make the site less accessible for differently abled visitors. There are a few ways to fix this that keep dev work to a minimum while offering maximal accessibility - I'm happy to support as I can!

oxalorg commented 2 years ago

@avidrucker Thanks for the detailed issue. Yes some exploration / pointers on what would be the best way to tackle this would surely be appreciated 🙌 !!!