When AutomationProperties.HelpText matches the content of a textbox, it should not be said
Steps to reproduce:
- use following app, build and run ndva_doublemention.zip
- use Narrator and notice that the content of the textbox is said once
Actual behavior:
- use NVDA, the content of the text box is said twice like "edit hello hello", and the content is just hello
- that is happening when the tooltip is bound to the content, and the helptext is automatically set to the value of the tooltip. If they are the same, they should not be speech twice, just as Narrator is doing.
Expected behavior:
- use NVDA, the content of the text box should be said once only
System configuration
NVDA installed/portable/running from source: no.
NVDA version: 2019.1.1
Windows version: Window 10
Name and version of other software in use when reproducing the issue:
custom app to repro the problem
Other information about your system:
Other questions
Does the issue still occur after restarting your PC?
yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
same behavior
Hi, what does UIA docs say about this problem? If Narrator is indeed following what UI Automation docs are saying, then we do need to work on a fix from NVDA side; otherwise, a discussion with Microsoft might be in order. Thanks.
From: lukka [email protected] Sent: Friday, May 17, 2019 8:45 PM To: nvaccess/nvda [email protected] Cc: Subscribed [email protected] Subject: [nvaccess/nvda] When AutomationProperties.HelpText matches the content of a textbox, it should not be said (#9585)
Steps to reproduce:
- use following app, build and run ndva_doublemention.zip https://github.com/nvaccess/nvda/files/3193619/ndva_doublemention.zip
- use Narrator and notice that the content of the textbox is said once
Actual behavior:
- use NVDA, the content of the text box is said twice like "edit hello hello", and the content is just hello
- that is happening when the tooltip is bound to the content, and the helptext is automatically set to the value of the tooltip. If they are the same, they should not be speech twice, just as Narrator is doing.
Expected behavior:
- use NVDA, the content of the text box should be said once only
System configuration
NVDA installed/portable/running from source: no.
NVDA version: 2019.1.1
Windows version: Window 10
Name and version of other software in use when reproducing the issue:
custom app to repro the problem
Other information about your system:
Other questions
Does the issue still occur after restarting your PC?
yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
same behavior
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nvaccess/nvda/issues/9585?email_source=notifications&email_token=AB4AXEEKRW4KB2XUA5LYLZLPV53URA5CNFSM4HNZOKIKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUQOWEQ , or mute the thread https://github.com/notifications/unsubscribe-auth/AB4AXEGERLMCNTGX4KO7ZI3PV53URANCNFSM4HNZOKIA .
@lukka: Please provide a compiled version of this app for ease of testing.
ndva_doublemention.zip Attached the binary, let me know.
Thanks for this.
UIA's helptext property is mapped to the description property on NVDAObjects. The UIA documentation says that this information is typically obtained from tooltips specified by providers. Therefore, I wonder whether mapping the helptext property to description is appropriate here. It probably is, since it has been so for years.
A possible workaround could be disabling reporting descriptions from NVDA's object presentation settings category.
It looks like NVDA also uses ItemStatus as a description. I'm not sure whether that's appropriate either. May be FullDescription is better. I recall that there's another place where we discussed this.
Maybe @michaelDCurran has some technical insights to add here, in addition to what @LeonarddeR already suggested above? cc: @gerald-hartig.