-
-
Notifications
You must be signed in to change notification settings - Fork 654
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "Only in edit controls" mode for typing echo (#17505)
Fixes #16848, related #10331, #3027 Summary of the issue: Currently NVDA can only toggle typing echo (characters and words) on or off globally. Users want more granular control to only have typing feedback in edit controls, while keeping it off in other contexts like listss or non-edit areas. Description of user facing changes - Added a new option "Only in edit controls" for both "Speak typed characters" and "Speak typed words" settings in Keyboard Settings - Instead of checkboxes, these are now combo boxes with three options: - Off: No typing echo - Only in edit controls: Only echo text typed in edit fields - Always: Echo all typed text - By default, "Speak typed characters" is now set to "Only in edit controls". - Updated relevant documentation in the user guide Description of development approach The implementation: 1. Added a TypingEcho enum in configFlags.py with values: - OFF (0) - EDIT_CONTROLS (1) - ALWAYS (2) 2. Changed keyboard typing echo configuration from boolean to integer values 3. Updated speech.py, behaviors.py and inputComposition.py to use the new enum 4. Modified settings dialog to use combo box instead of checkbox 5. Updated documentation Testing strategy: Tested the following scenarios: 1. Basic functionality: - Open Notepad (edit control) - Set to "Only in edit controls" - Type text - should be announced - Verify both character and word echo settings - Explorer file lists(non-edit control) - Type text - should not be announced - Test all three modes (Off, On, Only in edit controls) 2. Different contexts: - Web browser input fields - Rich text editors - Read-only text areas - Terminal windows Known issues with pull request: None identified.
- Loading branch information
1 parent
b8cf4cf
commit 605db3e
Showing
10 changed files
with
203 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.