You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual issue is the first item in dropdown is not auto focused on clicking space or return keys. After debugging, I found that keydown event is not generated instead seeing a click event, so my keydown event handler is not being invoked. I have added the code snippet in https://pastebin.com/ZKt231Xp
The above work around fixed the issue of highlighting the first element in dropdown but also introduced a new issue, Now I have to press the ESC key twice to close the dropdown. After debugging I came to know that on first ESC key press no event is generated inside DOM and hence my escape key event handler is not being triggered. Escape handler is something like a dropdown toggle and calling element.click(); in the angular directive
The text was updated successfully, but these errors were encountered:
When in browse mode, enter and space click the element under the cursor, rather than sending a key press. This is because we need to be able to click non-focusable elements and, even for focusable elements, we can't be certain they support key presses. This is not the case in focus mode.
When in focus mode, pressing escape returns to browse mode. However, it really shouldn't do this for ARIA menus; that's an NVDA bug (#3215). To clarify, do your dropdown items have a role of menuitem or something else?
Configuration: Windows10, Firefox
Actual issue is the first item in dropdown is not auto focused on clicking space or return keys. After debugging, I found that keydown event is not generated instead seeing a click event, so my keydown event handler is not being invoked. I have added the code snippet in https://pastebin.com/ZKt231Xp
The above work around fixed the issue of highlighting the first element in dropdown but also introduced a new issue, Now I have to press the ESC key twice to close the dropdown. After debugging I came to know that on first ESC key press no event is generated inside DOM and hence my escape key event handler is not being triggered. Escape handler is something like a dropdown toggle and calling
element.click();
in the angular directiveThe text was updated successfully, but these errors were encountered: