element-call
element-call copied to clipboard
Happy path UI buttons are not autofocused
Steps to reproduce
The most common UI button should be focused by default so you can hit enter to rapidly select it
- Join button when entering a call
- Submit button when rageshaking (not the close button)
- probably others
Outcome
What did you expect?
default focus on happy case UI flow
What happened instead?
no focus, or focus on unhappy case flows
Operating system
No response
Browser information
No response
URL for webapp
call.element.io
Will you send logs?
No
I ended up removing these autofocus behaviors recently because autofocus is often recommended against in accessibility guidelines, but there is certainly an argument to be had that our lobby view is one such exception where autofocus is still reasonable.