-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TabControl doesn't send the name of selected tab to accessibility clients on initial focus #12866
Comments
Hi @Liv-Goh @Syareel-Sukeri - could you please investigate if this worked in the .NET Framework and when this scenario regressed. Add the untriaged label when done. |
We have tested this issue on .NET 8, 9, 10 and .NET Framework 4.8.1 using NVDA and Narrator but unable to repro the issue. When we initially focus on the tab and alt+tab out the window and back, the tab name is still announced. @TheQuinbox Can you check the screen record below to check is there misunderstanding on the repro steps? Thank you. 12866_NVDA3.mp4Narrator12866.mp4 |
Hi @Liv-Goh, apologies, it seems I slightly misspoke. It indeed doesn't happen when focusing the window. However, I am still able to reproduce this issue when I first run the app. The tab control gets the first focus, and all I hear is "tab control", not what tab is selected. |
@TheQuinbox, thanks for correcting us. We managed to reproduce the issue that you encounter. @Tanya-Solyanik, the issue happens when the focus border is focus on the whole tab control instead of the tab page. This occurs when initially run the project and also occurs sometimes when switch to the tab pages. The issue consistently repro on .NET 6, 8, 9, 10 on initial run and not repro on .NET Framework using Narrator but inconsistently repro on .NET Framework using NVDA Below are the test results using Narrator and NVDA: Narrator 12866Narrator_Core.mp412866Narrator_Framework.mp4NVDA 12866NVDA_Core.mp412866NVDA_Framework.mp4 |
Thank you @Liv-Goh does this problem reproduce on .NET Framework 4.8.1 and 4.7.2? |
@Tanya-Solyanik This problem does not reproduce on .NET Framework 4.8.1 and 4.7.2 when using Narrator but reproduce inconsistently when using NVDA. |
@LeafShi1 let's get the UIA provider doing exactly what 4.7.2/4.8.1 does. |
@merriemcgaw, yes, that sounds great! I can't confirm for myself if it works in .NET framework, developing Winforms apps with .NET framework as a blind user is much harder because of how much it wants you to rely on Visual Studio and I've long forgotten how I used to invoke csc.exe/vbc.exe from the command line, but I'll trust the tester's judgements :) |
.NET version
9.0.100
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
No response
Issue description
Normally, when focusing a tab control using a screen reader, the name of the selected tab is announced. You can even see this in Winforms, by creating a tab control and then tabbing onto it. However, if the tab control gets the initial focus, or is the firstly focused item when you alt+tab back to the window, this doesn't happen. Here's a minimal C# Form to showcase this. I wrote and ran this with the dotnet CLI on Windows 10 IoT LTSC. Tested with NVDA, JAWS, and narrator.
Steps to reproduce
The text was updated successfully, but these errors were encountered: