You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: Radio group tab navigation is incorrect for modern form control syntax #27268
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v7.x
Current Behavior
In v7 the tab navigation for ion-radio-group is incorrect with the modern form syntax.
Pressing Tab will focus the next available ion-radio in the group. Once reaching the last radio, it will advance to focus the next available radio in the nearest ion-radio-group.
Legacy
Modern
Kapture.2023-04-24.at.16.27.41.mp4
Kapture.2023-04-24.at.16.28.40.mp4
Expected Behavior
Pressing Tab should focus the next available option in the nearest ion-radio-group. It should not advance to the next ion-radio in the current group. The up/down arrow keys should be responsible for that behavior.
Steps to Reproduce
Render multiple radio groups with the modern form syntax
Press Tab (repeatedly)
Observe: The next ion-radio is focused in the group
Observe: The focus will change between the radio groups after reaching the last radio in the group.
If using the reproduction, run the app and you can click the "Legacy Syntax" or "Modern Syntax" item to experiment with the different syntax and Tab key behavior.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Activity
test: add skipped test for modern syntax
test: add skipped test for modern syntax
test: add skipped test for modern syntax
fix(radio): radio with modern syntax is keyboard navigable (#27530)
thetaPC commentedon Jun 7, 2023
Thank you for the issue! The fix has been released in v7.0.11.
ionitron-bot commentedon Jul 7, 2023
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.