|
|
|
|
|
by yreg
583 days ago
|
|
I suspect you are checking for the coordinates because you can't fully trust the event type. I currently have an open semi-related bug, also in a menu dropdown component (where we also want to focus the first item when triggered via keyboard). My issue is that when Windows Narrator is used, the space/enter triggers a mocked click event instead of the keydown. We could check for the position like you do. Unfortunately, accessibility is often hacky both on the content side, but also on on the browser/screen reader side. |
|