-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Charts appear to interact with previous focused item when tabbing through with keyboard and pressing enter #4453
Comments
Hi @AndrewJohnWalker,
I’ve attached a video demonstrating the results on my side: |
It appears it's only an issue when using a screenreader (NVDA specifically, cannot reproduce with Narrator), so assume it's some issue with that shifting focus and not kendo specific. |
Hi @tswetti I have also found a very similar issue in the kendo-combobox. This one does not need NVDA to be replicated. Pressing tabbing to a combo box so it is focused and pressing enter when the box is in a form appears to click the button below it. Shall I open another issue for this, or is this related? https://stackblitz.com/edit/angular-v7z6wf?file=src%2Fapp%2Fapp.component.ts |
Hi, @AndrewJohnWalker, By default, pressing the 'Enter' key within a form triggers the submission process by activating the form's 'submit' button. For more details, refer to the following article: The Kendo UI for Angular ComboBox does not prevent the default behavior, which results in the observed button clicks. Alternatively, to prevent Kendo components from submitting a form, handle the keydown event for the Enter key: I hope this helps! |
Description
When a kendo-chart either doesn't have a series or the markers are invisible, tabbing to the chart and pressing enter will interact with the previously focused item. Making the markers visible does not seem to produce the bug.
Steps To Reproduce
https://stackblitz.com/edit/angular-qak7ys?file=src%2Fapp%2Fapp.component.ts
I would expect that the button is not clicked when pressing enter on the chart.
Screenshots or video
No response
Actual Behavior
Expected Behavior
Browser
All
Browser version
latest
OS type
MacOS, Windows
OS version
No response
Last working version of the Kendo UI for Angular package (if regression).
No response
The text was updated successfully, but these errors were encountered: