Skip to content

[Accessibility] ToolStrip (TabStop=true) intercepts arrow keys after tab navigation, preventing TreeView from handling them (.NET 10 regression) #14489

Closed

Description

@Olina-Zhang

.NET version

.NET 11 SDK build: 11.0.100-preview.4.26211.102

Did it work in .NET Framework?

Yes

Did it work in any of the earlier releases of .NET Core or .NET 5+?

Yes, It's a regression issue in .NET10/.NET11, cannot repro in .NET 9.0/8.0

Issue description

When a TreeView is followed by a ToolStrip/ MenuStrip / StatusStrip with TabStop = true. After cycling focus using Tab, TreeView no longer receives arrow key input (e.g., Right Arrow), and the key is instead used for focus navigation.

The issue is not limited to TreeView. It also reproduces with ListView and DataGridView, and affects all arrow keys (Left, Right, Up, Down).

First interaction

  • Press Tab to focus TreeView
  • Press → (Right Arrow) → node expands
  • Press ← (Left Arrow) → node collapses

Second interaction

  • Press Tab to move focus to ToolStrip
  • Press Shift+Tab to return focus to TreeView
  • Press → (Right Arrow)

Result: The selected TreeNode does not expand and TreeView does not handle the key, but focus moves to ToolStrip instead

ToolStripIssue.mp4

Steps to reproduce

  1. Create a WinForms .NET 10/11 app
  2. Add controls in this order:
  • Button
  • TreeView (with leaf nodes)
  • ToolStrip with one item, set:
    toolStrip1.TabStop = true;
  1. Run the app:

First interaction

  1. Press Tab to focus TreeView
  2. Press → (Right Arrow) → node expands
  3. Press ← (Left Arrow) → node collapses

Second interaction

  1. Press Tab to move focus to ToolStrip
  2. Press Shift+Tab to return focus to TreeView
  3. Press → (Right Arrow)

Activity

  1. added
    untriaged
    tenet-accessibility
    on Apr 23, 2026
  2. added
    💥 regression-release
    tenet-accessibility
    untriaged
    and removed
    tenet-accessibility
    untriaged
    on Apr 23, 2026
  3. SimonZhao888 commented on Apr 23, 2026

    @SimonZhao888
    Member

    This issue was introduced by PR #13034

  4. self-assigned this
    on Apr 23, 2026
  5. removed
    untriaged
    on Apr 30, 2026
  6. Olina-Zhang commented on May 7, 2026

    @Olina-Zhang
    MemberAuthor

    Verified in the latest .NET 11 build: 11.0.100-preview.5.26256.116, it was fixed: arrow keys work well in TreeView

    14489Verify.mp4
  7. added this to the 11.0 Preview 5 milestone on May 7, 2026
  8. Olina-Zhang commented on May 29, 2026

    @Olina-Zhang
    MemberAuthor

    Verified this issue in .NET 11 Preview 5 test pass build: 11.0.100-preview.5.26277.119, it was fixed with the same testing result as above.

  9. locked and limited conversation to collaborators on Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

💥 regression-releasetenet-accessibility

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions