element-call icon indicating copy to clipboard operation
element-call copied to clipboard

Happy path UI buttons are not autofocused

Open ara4n opened this issue 2 years ago • 1 comments

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

ara4n avatar Sep 26 '23 17:09 ara4n

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.

robintown avatar Sep 28 '23 00:09 robintown