[nvda-addons] reportPasswords add-on

  • From: Noelia <nrm1977@xxxxxxxxx>
  • To: nvda-addons@xxxxxxxxxxxxx
  • Date: Sat, 16 Apr 2016 10:52:24 +0200

Hi:


On spanish mailing list has been discussed the difficulties of a pupil typing his password for Gmail.

Some people would like to listeng the typed characters on protected controls.

There is an issue for this at

https://github.com/nvaccess/nvda/issues/4624

I created a branch for this issue, though now I don't like my code, since I modified speech instead of api.

The issue is opened, but there are people which requires this now.

I have created a very small add-on based on other one shared by James Scholes, that report the spoken text, and indentones add-on, that is, here I just act on api isTypingProtected function, intendent to determine when keyboard echo needs to be suppressed.

I will be grateful if you can review this small piece of code, and let me know if you want me to create the repo for the inclussion of the add-on on the community website. Thanks:


^***


# reportPasswords: plugin to avoid keyboard echo suppressing on protected controls
# Date: 16/04/2016

import globalPluginHandler
import api

def unprotectPasswordControls():
    return False

class GlobalPlugin(globalPluginHandler.GlobalPlugin):

    def __init__(self):
        super(globalPluginHandler.GlobalPlugin, self).__init__()
        api.isTypingProtected = unprotectPasswordControls

----------------------------------------------------------------
NVDA add-ons: A list to discuss add-on code enhancements and for reporting bugs.
Community addons are available from: http://addons.nvda-project.org
To send a message to the list: nvda-addons@xxxxxxxxxxxxx
To change your list settings/unsubscribe: 
//www.freelists.org/list/nvda-addons
To contact list moderators: nvda-addons-moderators@xxxxxxxxxxxxx

Other related posts: