MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

DialogHost accessibility issue

Open
#3,434 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug dialoghost
Dominant language
C#
Stars
16.3k
Forks
3.5k
Avg merge
1d 22h
Merged PRs (30d)
8

Description

Bug explanation

The DialogHost seems to lost the focus when the window is minimized. When you restore it after, the focus goes to the main view even if the dialog host is always opened.

Steps to reproduce :

  1. Open a DialogHost which contains some controls
  2. Use the tab button to navigate on the DialogHost controls => The focus is on the DialogHost and its controls.
  3. Minimize the app with the DialogHost opened
  4. Maximize the app -> The DialogHost is always opened
  5. Use the tab button again to get the focus => The DialogHost has not the focus, it is on the main View.
  6. Close the DialogHost and reopened it
  7. Use the tab button => The focus is on the DialogHost again
Version

4.9.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the minimize-and-restore sequence with an open DialogHost, then trace the DialogHost focus handling entry point. Verify that restoring the window preserves focus within the open DialogHost and that closing and reopening it still restores focus as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
accessibility, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.