-
-
Notifications
You must be signed in to change notification settings - Fork 652
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
Add ability to speak typed text in password fields #17481
Conversation
See test results for failed build of commit 4812ff7e2b |
I will not provide a feedback regarding the security of the feature here since it is already being discussed on NVDA mailing list, on NVDA AG list and in the related issue. Regarding the UX:
Thus I'd recommend to rename the option. It could be renamed as follows: Once we have agreed on the name of the option, all the variable names and other related content should be updated accordingly for clarity. |
Cyrille wrote:
In fact, passwords are masked in braille. Thanks for your review. I think that I've addressed your comments. |
Co-authored-by: Cyrille Bougot <[email protected]>
@CyrilleB79 , I've applied your suggestions. Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @nvdaes
@seanbudd , thanks for your review. I was addressing your comment but I see that you added a type hint. |
I would agree with this feature if it was introduced only for touch screen devices, maybe as part of the touch handler. Just to mention it would be really nice to hear some arguments from NV Access in this whole discussion why it makes sense that blind people can hear passwords in any use case while sighted people cannot see them. Does this really tackle accessibility problems? I didn't hear any logical argument yet why speaking passwords in screen reading is needed at all. The only argument I heared is that NVDA should do the same like Voice Over. But then we compare apples with pairs. Wit Voice over you can decide when you lift your finger from the screen, so no one can tell that you really typed the password. I would really like to hear opinions from @michaelDCurran and @LeonarddeR. I am commenting here because it seems this PR is approved already. |
My feelings are as follows:
In conclusion, I think this is a valid feature. But, if there are valid security concerns from the community here, then we should always be conservative and not merge this PR. But, we would also have to think about removing the add-on as well. In other words, I either support no add-on and nothing in core, or no add-on and a clearly visible and documented feature in core. Based on the further discussion over the last day, I have removed the concept approved label. But I am not going as far as closing the PR yet. NV Access shall talk about this further after the weekend. |
It is not possible to mask the typing of the controlled machine to the controller and other way around? |
@michaelDCurran you wrote:
In general I agree, but sighted people do not see all the symbols on the keyboard either. e.g. percent, dollar, question mark etc. It is even more signifikant when they use multiple input languages on a keyboard.
Is it really worth it to take this risk given the workarounds we have already? |
No because NVDA is not working via the NVDA remote addon in this case. Basically the software through wich the person remotely controls a keyboard wouuld have to mask that. NVDA cannot do anything about it. |
@Adriani90 wrote: Sorry, but the signs are also printed in the keyboard. |
That's true for some of them, but definitely not for all of them. By the way NVDA would be the only screen reader on Windows that would provide such a risky and controversial feature. |
Mick wrote:
I agree with this. |
@Adriani90 as already written by @ruifontes symbols are usually printed on the keyboard. Sighted people do not need to memorize how to write a symbol, they just look at it. |
On a german keyboard for example, the keys 8, 9 and 0 contain basically the symbols that you can trigger when pressing shift+8, shift+9 and shift+0, but you can also press ctrl+alt+8, 9 or 0 to e.g. insert different types of brackets. These are not printed on a keyboard but still are very commonly used. Also ctrl+alt+plus sign inserts a tilde, but this is not printed on a keyboard usually. Moreover, there are laptops (e.g. like Asus or Lenovo), which habe a dedicated key for |
Before we loose ourselves in such a discussion, why not trying to figure out how to combine both worlds? Note that the GDPR does not only apply for organizations within EU, but for every private person living ini EU. So having this statement only on the corporate environment page might be misleading. |
My proposal after all this discussion is as follows, which would make this feature at least GDPR compliant:
@nvdaes I understand that you might interpret my way of challenging this feature as harsh, but I really don't want to offend you or hurt your feelings in any kind. I just gave you my honnest feedback because I really respect your work for NVDA and I really appreciate your initiatives. And I know that you support security and data privacy at least as much as me, you contributed to the codeQL integration and Addon security checks etc. I don't think we are as far away apart as it seems. |
Could you double check please with a sighted person? This seems very strange to me: many sighted people do not know the keyboard by heart; how do they know how to input such brackets? On this image of a German keyboard (source wikipedia), on the key "0" we can see:
|
hi, everyone. i've came to give my opinion for this feature. In my own laptop, I used to Know how is my keyboard completely, so i had no problem to enter my passwords. but, when I was acsepted to my new job and I started my work with their computer and their keyboard which was a bit difrent, I mean places of the keys wor difrent, and they gave me my account and my password in their automation, and to prevent abuce and problems, they had a 15 seconds timer on their password request section, so I was needed to use this to be able to enter my password correctly and quickly, so I was needed to install the report passwords addon, and any other above solootions wasn't good option for me. I also agree to add this feature but let sited users know about this using the ways suggested in above comments. any, if we want to talk about this, we have some other unfare problems too. for example, we stil cannot solv captchers in websites or apps which doesn't have audio captcher or is not using h captcher service and only have a grafic contanes the text of the captcher, nvda doesn't help us in this case. we can only use ocr in this case, sometimes it reads the captcher correctly, sometimes not, And some others. |
amirmahdifard wrote:
I'm happy knowing that the add-on worked for you. I'm the maintainer of this add-on available on the store. |
Closed as per #17451 |
Hi, I just had an idea for echoing when typing passwords. I don't know if it has been discussed previously, I don't want to read the entire message thread... Initially, it could be implemented in an add-on for testing. A custom dialog could be implemented where the user can type the password, and when they press OK, NVDA will type the password in the focused field.
This way braille users will also be able to know what they type in the password field, so it's even better. The only security risk I can think of is someone viewing the password. Perhaps could make the edit box very small, or a custom implementation of an edit field, but the latter would be much more complex. Especially if it's intended to be compatible with braille displays. I think I could make a add-on that does something like described above. |
Link to issue number:
Fixes issue #17451
Summary of the issue:
Some users require to listen the real typed characters in password edit controls.
Different add-ons were created independently by various authors to bring this feature to NVDA, patching the
isTypingProtected
function in theapi
module.Description of user facing changes
In keyboard settings, a checkbox without an Accelerator has been added to allow NVDA speaking typed text in password fields. It's disabled by default.
A script has been added to
globalCommands
to toggle this setting. It doesn't have an assigned gesture to prevent accidental activation.Description of development approach
If the speakPasswords configuration option of keyboard section is set to True,
api/isTypingProtected
returns False. Otherwise, the function check if focus object is protected.Testing strategy:
Tested manually with QWERTY keyboard and braille input.
Known issues with pull request:
No major issues than using an add-on, not managed by NV Access.
Code Review Checklist:
@coderabbitai summary