-
Notifications
You must be signed in to change notification settings - Fork 688
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
Wrapped KRadioButton groups in KRadioButtonGroup #12751
base: develop
Are you sure you want to change the base?
Conversation
Build Artifacts
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your work on this! I've added a couple of requests for changes which, in summary, are:
- The
KRadioButtonGroup
should only wrap what is necessary for it to do its job. There are several places where it's wrapped around structural/layout components which could cause issues / conflicts - There are several lines that seem arbitrarily removed - if this is a result of your parsing script (and not our linter) then we'll want to revert the non-functional changes. If our linter did make the changes, ignore this
kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/SectionEditor.vue
Outdated
Show resolved
Hide resolved
kolibri/core/assets/src/views/sync/SelectDeviceModalGroup/SelectDeviceForm.vue
Outdated
Show resolved
Hide resolved
We will need @radinamatic's approval here as well. Radina, this PR attempts to address #10491 for all radio buttons in Kolibri. |
kolibri/plugins/coach/assets/src/views/plan/CreateExamPage/index.vue
Outdated
Show resolved
Hide resolved
kolibri/plugins/coach/assets/src/views/plan/LessonResourceSelectionPage/ContentCardList.vue
Outdated
Show resolved
Hide resolved
...ri/plugins/device/assets/src/views/ManageContentPage/SelectTransferSourceModal/DriveList.vue
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @iamshobhraj, this is a great start and will be wonderful a11y improvement. I agree with @nucleogenesis concern regarding the placement of KRadioButtonGroup
. There's some more nuance to it though so I posted more guidance with examples. I didn't review all places so would ask you to revisit and align all changes with that. Let us know if you had any questions.
@radinamatic there will some code changes based on @nucleogenesis and my review - it'd be best to do QA rather after that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that with some additional regression testing by @radinamatic or @pcenov would be great here.
I saw some minor syntax inconsistencies that I noted but overall the updates look good to me. I'll request changes on that particular issue and will dismiss my request upon successful QA
@nucleogenesis i fixed the syntax inconsistency. just waiting for the QA. But now there is a merge conflict. It was fine yesterday. How do i fix this? |
Thanks @iamshobhraj - no issues observed while manually testing, LGTM! |
Apologies for the delay, I'll look at this later today, @iamshobhraj! 🙏🏽 |
No worries, I'm in no such hurry. Take your time. |
Thank you for your contribution @iamshobhraj, keyboard navigation seems to be working correctly! 🙏🏽 @MisRob I apologize for not making it more explicit, but when I linked the ARIA Authoring Practices Guide (APG) for radio button in the initial issue, I hoped that we would also implement the proper
|
Thanks, @radinamatic ! Great to hear the keyboard navigation is on point. I’m glad to be part of these improvements. |
Hi @radinamatic, this is rather a new KDS task. @iamshobhraj if you're interested, you're welcome to message us for an assignment here learningequality/kolibri-design-system#828. Let's keep it separately from this work. |
@MisRob I'll be happy to take up the new KDS task. But there is a merge conflict in this PR. Is it for me to fix it? If so, how do I fix it? |
@iamshobhraj Thanks for offering to take care of the conflicts, that'd be much appreciated. You could resolve them by merging the latest |
@MisRob Merge conflict is fixed. I believe this PR is ready to be merged |
Thanks! I will let @nucleogenesis to do the final approve as he saw most of the changes. |
@nucleogenesis i believe this pr is ready to be merged. are there any additional changes you would like me to make? |
Summary
Wrapped the unwrapped KRadioButton Groups in KRadioButtonGroup tag to ensure keyboard navigation in firefox.
References
KRadioButton
groups inKRadioButtonGroup
#12596Reviewer guidance
Testing checklist
PR process
Reviewer checklist