[Accessibility] Narrator focuses on the Column Headers instead of the first cell when enter DataGridView by switching Form
See original GitHub issue.NET version
8.0.100-alpha.1.22430.2
Did it work in .NET Framework?
Yes
Did it work in any of the earlier releases of .NET Core or .NET 5+?
Yes, it is a regression issue, cannot repro .Net 6.0, for 7.0 version,
Issue description
Narrator focuses on the Column Headers instead of the first cell when enter DataGridView by switching Form. If application has one Form with DataGridView, Narrator focuses on the entire DataGridView instead of first cell
Actual Gif: 2 Forms: 1 Form:
Expected Gif from .Net 6.0: 2 Forms:
1 Form:
Steps to reproduce
- Create a Winforms .Net Core application, Form1 with DataGridView added
- Add several columns in DataGridView
- Add a Form2 to this project, and add a button to Form2
- Double click button to generate event with following code
Form1 form1 = new Form1();
form1.ShowDialog();
- Set Form2 as start form, build and run application
or use attached sample application for testing DataGridViewSample.zip
Issue Analytics
- State:
- Created a year ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
What's new in accessibility in .NET Framework
Accessibility features let an app provide the right experience for Assistive ... Narrator can now focus on an empty DataGridView control.
Read more >[Accessibility] Change DataGridView's Row/Column ...
We need to change DataGridView's Row/Column counting with starting at 1, not 0 ... Narrator, Inspect focus on the first DataGridView cell, ...
Read more >How to prevent datagridview from selecting the first cell as ...
What worked for me was to clear the selection and then set the row based on the row index. Hope this helps. GridView.ClearSelection()...
Read more >Real-world learnings on keyboard accessibility in ...
This article discusses some real-world bugs relating to the keyboard accessibility of apps built using WinForms and WPF UI.
Read more >Selection in Windows Forms DataGrid (SfDataGrid)
Windows forms datagrid showing single mode cell selection ... in a datagrid can be selected by interacting with an intuitive check box in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@NikitaSemenovAkvelon Verified this issue in the latest .Net 8.0 SDK build: 8.0.100-alpha.1.22470.29, In Win11 21H2(OS Build 22000.856), this issue fixed and result same with you. But in Win10 21H2(OS Build 19044.2006), this issue not fixed and result as above mine attached.
I’ve retested it from main branch. Below described my steps and a result. It works as expected.