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
Expected behavior
Initial focus is set to the first radio button in the first group, Option 1. Actual behavior
Focus is set to the second control in the visual tree; in this case, the first radio button in the second group, Option 4.
Issue 2 Steps to reproduce:
Select an option in the first group (e.g - Option 3).
Select an option in the second group (e.g - Option 5).
Press Tab several times to cycle between the groups.
Expected behavior
Per documentation, "When a radio button is selected and a user tabs into the list, the selected radio button gets focus." Actual behavior
When a user tabs into the first group, the first option always gets focus, regardless of whether an item is selected.
Initial focus is set to the second control in the visual tree, not to the first RadioButtons control.
In your repro code, Focus is in the first RadioButtons control ("Option A"). While you don't see a focus rectangle, you can press the Space key to select the first item of "Option A" ("Option 1") or you can press the down arrow key to select the remaining items in "Option A".
Describe the bug
When RadioButtons is the first control in the visual tree, Tab navigation does not behave as described in the documentation.
Steps to reproduce the bug
Create a blank UWP project and add this XAML.
Issue 1 Steps to reproduce:
Expected behavior
Initial focus is set to the first radio button in the first group, Option 1.
Actual behavior
Focus is set to the second control in the visual tree; in this case, the first radio button in the second group, Option 4.
Issue 2 Steps to reproduce:
Expected behavior
Per documentation, "When a radio button is selected and a user tabs into the list, the selected radio button gets focus."
Actual behavior
When a user tabs into the first group, the first option always gets focus, regardless of whether an item is selected.
Version Info
NuGet package version:
[Microsoft.UI.Xaml 2.4.2]
[Microsoft.UI.Xaml 2.5.0-prerelease.200708003]
Additional context
The text was updated successfully, but these errors were encountered: