Skip to content
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

Button - Keyboard Interaction: “ESC” Key doesn’t work as expected (ACC) #6782

Closed
1 task done
blaesius opened this issue Mar 23, 2023 · 3 comments · Fixed by #8911
Closed
1 task done

Button - Keyboard Interaction: “ESC” Key doesn’t work as expected (ACC) #6782

blaesius opened this issue Mar 23, 2023 · 3 comments · Fixed by #8911
Assignees
Labels
ACC bug This issue is a bug in the code Medium Prio TOPIC B

Comments

@blaesius
Copy link

Bug Description

From ACC side it is described that the “ESC”-Key can be used to cancel triggering the action (in this case triggering the action) when using “ESC” while “SPACE” is pressed. This doesn’t work for the web component.

Affected Component

No response

Expected Behaviour

No response

Isolated Example

https://sap.github.io/ui5-webcomponents/playground/components/Button/

Steps to Reproduce

...

Log Output, Stack Trace or Screenshots

No response

Priority

Medium

UI5 Web Components Version

1.11.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Declaration

  • I’m not disclosing any internal or sensitive information.
@blaesius blaesius added the bug This issue is a bug in the code label Mar 23, 2023
@s-todorova s-todorova self-assigned this Mar 24, 2023
@s-todorova
Copy link
Contributor

Hello @blaesius,

Could you please provide a recording of how exactly you encouter this problem? I am unable to reproduce this issue on the playground page, which you've linked as an example.

Thank you in advance!

Best regards,
Siyana

@s-todorova s-todorova removed their assignment Mar 24, 2023
@blaesius
Copy link
Author

Hi Siyana,

yes, no problem.

Just navigate via keyboard using the tab until you reach a button. Press 'space' and hold it (to execute the button action via keyboard). If you now press ESC (while holding space), the action should be cancelled. We have this behavior already in UI5, you can check it there as well.

Kind regards,
Janina

@nnaydenow
Copy link
Contributor

Hi @SAP/ui5-webcomponents-topic-b,

Could you please check this? If click action is triggered by SPACE key user is not able to discard it by pressing SHIFT / ESCAPE key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ACC bug This issue is a bug in the code Medium Prio TOPIC B
Projects
Development

Successfully merging a pull request may close this issue.

4 participants