nvda icon indicating copy to clipboard operation
nvda copied to clipboard

When AutomationProperties.HelpText matches the content of a textbox, it should not be said

Open lukka opened this issue 6 years ago • 6 comments

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

lukka avatar May 18 '19 03:05 lukka

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:

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 .

josephsl avatar May 18 '19 03:05 josephsl

@lukka: Please provide a compiled version of this app for ease of testing.

LeonarddeR avatar May 18 '19 16:05 LeonarddeR

ndva_doublemention.zip Attached the binary, let me know.

lukka avatar May 18 '19 23:05 lukka

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.

LeonarddeR avatar May 20 '19 05:05 LeonarddeR

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.

LeonarddeR avatar Oct 19 '19 11:10 LeonarddeR

Maybe @michaelDCurran has some technical insights to add here, in addition to what @LeonarddeR already suggested above? cc: @gerald-hartig.

Adriani90 avatar Jun 25 '24 20:06 Adriani90