We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The "Not you?" and "Resend code" buttons cannot be activated using keyboard.
To Reproduce
Expected behavior The button's onClick action should execute, and the screen should not scroll down.
Screenshots
Desktop (please complete the following information):
Additional context We are using npm package: @adyen/[email protected]
<span>
<button>
role
tabIndex
<div>
role="link"
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/button_role#best_practices
Where possible, it is recommended to use native HTML buttons rather than the button role
The text was updated successfully, but these errors were encountered:
Hello @FilipSvozil thank you for raising the issue.
This has indeed escaped our review process, we will fix in the coming releases.
Sorry, something went wrong.
Hi @FilipSvozil, we released a fix for this issue in v6.7.0. I'll close the issue for now, but feel free to reopen if you have any other comments.
No branches or pull requests
Describe the bug
The "Not you?" and "Resend code" buttons cannot be activated using keyboard.
To Reproduce
Expected behavior
The button's onClick action should execute, and the screen should not scroll down.
Screenshots
Desktop (please complete the following information):
Additional context
We are using npm package: @adyen/[email protected]
<span>
, and doesn't handle keyboard activation<button>
- thenrole
andtabIndex
would no longer be needed<div>
, and doesn't handle keyboard activation<button>
- thenrole
andtabIndex
would no longer be neededrole="link"
also seems incorrect - it doesn't lead anywhere, it performs an actionhttps://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/button_role#best_practices
The text was updated successfully, but these errors were encountered: