Skip to content

[Accessibility] Focus cue not shown on startup for multiple WinForms controls when multiple focusable controls exist #14465

@Olina-Zhang

Description

@Olina-Zhang

.NET version

.NET 11 SDK with 11.0.100-preview.4.26208.110 build

Did it work in .NET Framework?

No

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

No

Issue description

In WinForms, several controls that receive input focus on startup do not display any visible focus indication when multiple focusable controls are present on the form.

This results in inconsistent and potentially confusing UX, as users cannot determine which control is currently focused.

Actual Result:
Only ComboBox (DropDownStyle = DropDownList): it has focus cue.

Image

After added button:
The control(ComboBox) does not show any visible focus cue on startup
However:

  • Pressing Tab once moves focus to the Button
  • This indicates that the control actually had focus initially
Image

Expected result:
A control that has input focus should provide a visible focus indication on startup, regardless of the presence of other focusable controls.
Image

Steps to reproduce

  1. Create a new WinForms .NET application
  2. Add one of the following controls to the form:
    • ComboBox (DropDownStyle = DropDownList)
    • ListBox
    • CheckedListBox
    • ListView
    • TreeView
    • TabControl
    • TrackBar
      Ensure:
      • TabIndex = 0
  3. Run the application
    → The control shows a focus cue
  4. Add a Button to the form (default settings)
  5. Run the application again to observe

Metadata

Metadata

Assignees

Labels

tenet-accessibilityMAS violation, UIA issue; problems with accessibility standards

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