Description
openedon May 1, 2024
Describe the bug
With Narrator you can enable "scan" mode which will allow you to read any text on screen for accessibility reasons. If you have a TeachingTip and IsLightDismissEnabled=True, Narrator can not read the text. When the tip is opened, it simply says "Popup Window. Press F6 to go to notification". But you can't navigate through the tip to read the text. This works as expected if IsLightDismissEnabled=False.
Steps to reproduce the bug
Create an application with a Button that has a teaching tip, for example:
XML:
<Button x:Name="MyButton" Click="MyButton_OnClick"> <Button.Resources> <TeachingTip x:Name="Tip" Subtitle="Here is my text to read" Target="{x:Bind MyButton}" IsLightDismissEnabled="True"/> </Button.Resources> </Button>
C# Code-behind Click handler
private void MyButton_OnClick(object sender, RoutedEventArgs e) { Tip.IsOpen = true; }
- Run it
- Turn on Narrator from Settings > Accessibility > Narrator
- Press Caps Lock > Space to enable scan mode
- Click the button - You should hear "Popup Window. Press F6 to go to notification"
- Press F6 - Nothing happens
- Navigate the TeachingTip in scan mode by pressing up and down arrow keys - Nothing happens
Now do the same thing but with IsLightDismissEnabled=False. You'll notice that when you press F6, you are now able to press up/down to navigate between the X button and the text. When the text is highlighted, it will read it out loud. This is the proper behavior that the TeachingTip should have when IsLightDismissEnabled=True.
Expected behavior
User should hear the text read when scanning the TeachingTip with up and down arrows
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.5.2: 1.5.240404000
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response