-
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
DataGridView sends unnecessary event to screen readers on every cell change. #12867
Comments
@TheQuinbox , this is not a real issue. for now, the keyboard tooltip is supported for the controls by default, so the Edit tooltip will be announced when using the arrow keys got though the cells as below screenshot. So you can disable the tooltip such as below code section. |
Hi @Zheng-Li01, |
@TheQuinbox, thanks for your response. as below screenshot, sometimes the screen reader user wants to know which type of cell was used for now, who can get the cell's type info by using screen reader to announce the tooltip. |
Hi @Zheng-Li01, |
@TheQuinbox @Tanya-Solyanik Referring to the display of the Textbox control, when the Textbox is read-only, adding the ReadOnly attribute to it, do you think this is reasonable? |
The tooltips of all controls will be read out automatically, which is controlled by the AnnounceText method of Tooltip itself The reason why DataGridViewCell displays Tooltip is that the GetDefaultToolTipText method is overridden in @Tanya-Solyanik @TheQuinbox There are currently two solutions below. Which one do you think is more reasonable? Solution1: we can disable the Tooltip of Solution 2: when the Textbox is read-only, adding the ReadOnly attribute to it's ToolTip |
.NET version
9.1.00
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
I have this simple Windows Forms app using DataGridView. Every time I press an arrow key to move to a different cell, using either NVDA or Narrator, after reading all of the correct information about the cell, the screen reader will say "edit", for seemingly no reason.
Steps to reproduce
The text was updated successfully, but these errors were encountered: