-
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 |
For other application, like Excel, there is no Tooltip when focusing on a cell and no Tooltip in .NetFramework project, but the statue of the cell will be announced The tooltip required by customer in bug https://devdiv.visualstudio.com/DevDiv/_workitems/edit/528682 and the Tooltip is shown starting from PR #1681 |
Hi,
I can't see the results you posted, I'm completely blind, but the first
solution sounds reasonable to me.
Thanks.
…On Tue, Feb 18, 2025 at 7:07 PM Leaf Shi ***@***.***> wrote:
For other application, like Excel, there is no Tooltip when focusing on a
cell
Excel.gif (view on web)
<https://github.com/user-attachments/assets/01b7109b-638d-4767-9040-32108d61bc21>
and no Tooltip in .NetFramework project, but the statue of the cell will
be announced
image.png (view on web)
<https://github.com/user-attachments/assets/1946e594-38cc-4073-8709-d791e955375a>
—
Reply to this email directly, view it on GitHub
<#12867 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUFY3PW4SU32ZRVLWVG5OSL2QPRNLAVCNFSM6AAAAABWIRFAPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNRXGMZTSMJYGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: LeafShi1]*LeafShi1* left a comment (dotnet/winforms#12867)
<#12867 (comment)>
For other application, like Excel, there is no Tooltip when focusing on a
cell
Excel.gif (view on web)
<https://github.com/user-attachments/assets/01b7109b-638d-4767-9040-32108d61bc21>
and no Tooltip in .NetFramework project, but the statue of the cell will
be announced
image.png (view on web)
<https://github.com/user-attachments/assets/1946e594-38cc-4073-8709-d791e955375a>
—
Reply to this email directly, view it on GitHub
<#12867 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUFY3PW4SU32ZRVLWVG5OSL2QPRNLAVCNFSM6AAAAABWIRFAPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNRXGMZTSMJYGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@Tanya-Solyanik If customer don't expect to hear any additional cell type information, he just need to set But for the 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: