Add spelling for double presses of some NVDA commands#15504
Conversation
- Report current selection - Report clipboard text
See test results for failed build of commit c5f0c4cb97 |
|
Hello |
|
There are various commands reporting something that support double-press to spell the reported information. Among these, the majority of them actually support triple press:
Of course, for the scripts of this PR (read current selection and report clipboard text), a triple press to add the information to the clipboard has no sense, either because the clipboard already contains this information or, in the case of selection, because control+C is the native script to copy the selection. Thus supporting triple press in international code makes sense for the two commands modified in this PR. Should I also add it for report focused object? @seanbudd, NV Access' opinion about adding the triple press for these 3 scripts? |
|
Yes, it makes sense to be able to spell phonetically in this case |
See test results for failed build of commit 2508c058ed |
seanbudd
left a comment
There was a problem hiding this comment.
Thanks @CyrilleB79 generally looks good
Qchristensen
left a comment
There was a problem hiding this comment.
User guide change reads well.
Link to issue number:
Closes #15449
Summary of the issue:
Various NVDA commands which report information spells it on second press. This was not the case for the two following commands:
Moreover, the command to report focus (NVDA+Tab) support spelling the information on second press, but not the triple press version spelling it using character description.
Description of user facing changes
When pressing two times NVDA+C or NVDA+shift+upArrow, the reported information will be spelt. A third press spells the information using character description. As for other similar scripts, if the selection or the clipboard text contains too many characters, the information is not spelt and the number of characters is reported instead.
Similarly, the command to report focus (NVDA+Tab) has also been extended to support spelling the information using character description on third press.
Description of development approach
Same logic as other similar scripts.
Testing strategy:
Manual test:
Tested report selection script with 1, 2 or more presses for:
Tested report clipboard script with 1, 2 or more presses and in the following cases:
Tested NVDA+Tab with 1, 2 or 3 presses
Known issues with pull request:
None
Code Review Checklist: