Skip to content

TitleBar without any interactive element is still tab-navigable #10796

@jiripolasek

Description

@jiripolasek

Describe the bug

TitleBar without any interactive element is still tab-navigable. Focus can land on the TitleBar even though there is nothing to interact with.

Ref: microsoft/PowerToys#41944

Why is this important?

It’s unintuitive for users, since a TitleBar with no interactive controls should not receive focus. This disrupts tab navigation flow and creates unnecessary stops, especially confusing for keyboard-only and screen reader users.

Steps to reproduce the bug

FocusableTitleBar.zip

  1. Build & run the attached app.
  2. Focus on the button.
  3. Press Ctrl+Tab to navigate backward.
  4. Expect the text box to be focused.
  5. Be disappointed.
  6. Watch the focus vanish into a black hole (or white hole, depending on the theme).

Actual behavior

No response

Expected behavior

No response

Screenshots

No response

NuGet package version

None

Windows version

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

area-TitleBarIssues related to custom window title bars.bugSomething isn't working

Type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions