Skip to content

Disabled RadioButton causes a cyclic tab navigation issue. #10423

@rafanuness

Description

@rafanuness

Describe the bug

When there are more than 2 radio buttons and the first or last radio button is disabled, tab navigation starts happening cyclically when using the up key (if the disabled item is the first) or the down key (if the disabled item is the last).
If the disabled item is between other items, this phenomenon does not occur.

Check the Video Below:

bandicam.2025-03-12.10-24-17-519.mp4

Steps to reproduce the bug

  1. Create a page with more than 2 radio buttons.
  2. Disable either the first or last radio button in the group.
  3. Focus on the first or last radio button (depending on which one you disabled).
  4. Use the Up key (if the first radio button is disabled) or the Down key (if the last radio button is disabled) to navigate through the radio buttons.
  5. Observe that the tab navigation starts cycling between the enabled radio buttons instead of stop at the first/last item.
  6. If the disabled radio button is placed between other enabled radio buttons, the issue does not occur.

Expected behavior

The navigation should stop at the first or last enabled item, instead of cycling back to the start or end of the list.

Screenshots

No response

NuGet package version

None

Windows version

Windows 11 (24H2): Build 26100

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityNarrator, keyboarding, UIA, etcarea-RadioButtonsbugSomething isn't workingneeds-triageIssue needs to be triaged by the area owners

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions