-
Notifications
You must be signed in to change notification settings - Fork 83
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
issue-#10491 Allow moving with arrow keys over radio buttons in firefox #554
issue-#10491 Allow moving with arrow keys over radio buttons in firefox #554
Conversation
I have used the same logic as is in KTabsList component for arrow keys movement. The arrow keys are working fine. But I cannot do the tab logic. I have thought about this logic:
2024-02-22.18-12-47.mp4
My ThoughtsIn the original issue which occurred in Devices/Settings, We can add this logic on the setting file. But I think there are many different places where Radio Buttons are used we have to add the same code to each file. Which is not a good idea. I think we can create a different component that contains all the radio buttons of a single group. What do you think? About the tabs, I think as the arrow keys are working. The users now do not need to use the tabs in Firefox too and even if they use it it will not break the code or logic. So I think we can skip it if we don't have a proper logic for the tab after discussion. Let's see. So currently as per https://www.w3.org/WAI/ARIA/apg/patterns/radio/#keyboardinteraction guidelines the
|
Hi @muditchoudhary, thank you for looking into this! In regards to troubling TAB key, can I understand right that the problem is that under certain circumstances, when you click TAB, the focus moves to the next radio button rather than outside the group, right? |
@MisRob Yes, that's correct. |
Some general references that came to mind when I read your comment
Could some of this information help? |
And also in regards to
I agree we wouldn't want to implement this over and over again and it'd be best to have something like |
I'll check it out in the morning. |
Hi @MisRob The tab issue has been fixed now. Thanks for telling about 2024-02-24.16-07-34.mp4 |
I will try to create |
Thanks @muditchoudhary. I think that
It would be good to check few places in Kolibri to see if this will do for our use cases. This page in KDS docs will help with creating a new component, even though you probably already know most of that. It'd be good to have some tests for it. |
Okay understood! |
Closing in favor of #650 |
Description
The PR fixed the accessibility issue of arrow keys not working for moving over radio buttons in Firefox.
Issue addressed
Addresses #PR# HERE
Before/after screenshots
2024-02-22.17-53-31.mp4
Changelog
[#PR no]: PR link
Steps to test
(optional) Implementation notes
At a high level, how did you implement this?
Does this introduce any tech-debt items?
Testing checklist
Reviewer guidance
After review
CHANGELOG.md
Comments