Skip to content

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

@Olina-Zhang

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)

Metadata

Metadata

Assignees

Labels

💥 regression-releaseRegression from a public releasetenet-accessibilityMAS violation, UIA issue; problems with accessibility standardsuntriagedThe team needs to look at this issue in the next triage

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions