[Windows/WinUI] Main window doesn't have an accessible name by default #14465
Labels
area-controls-window
Window
legacy-area-a11y
Relates to accessibility
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/a11y
Relates to accessibility
t/bug
Something isn't working
Milestone
Description
MAUI's main window on Windows desktop has no title by default and is therefore not accessible. When the MAUI window gets focus, the narrator will say "DesktopChildSiteBridge" which is not helpful. By default, the window title should be anything but empty, it could be the app name by default.
Is there an easy way in XAML to set the window title?
Steps to Reproduce
REPRO:
EXPECT:
Narrator announces the app name
RESULT:
Narrator announces that "DesktopChildSiteBridge" was activated
NOTE: If you F5 to build and run, you can use the in-app toolbar to run the accessibility checker from Visual Studio. There should be one error that an element doesn't have a name. It's referring to the main window not having a name.
Link to public reproduction project repository
N/A, use default template
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
net7.0-windows10.0.19041.0
Did you find any workaround?
In App.xaml.cs, I can override the CreateWindow method to inject my own window title. This shouldn't be required.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: