Report spelling errors with a sound while reading#17997
Conversation
|
How does this pr relate to #10474? |
seanbudd
left a comment
There was a problem hiding this comment.
note - partial review - just caught a few minor things
Co-authored-by: Sascha Cowley <16543535+SaschaCowley@users.noreply.github.com>
|
@SaschaCowley or @seanbudd, I am also wondering if setting the sound as the default option could be acceptable. What is your opinion on this? |
|
Ping @SaschaCowley and @seanbudd. This PR remains in draft state since there are pending questions here for you:
And also, do you expect something from me? |
|
@CyrilleB79 - please mark PRs as ready if you want a response from NV access. We don't check drafts as regularly |
|
@CyrilleB79 I wouldn't set sound as the default in this PR. |
SaschaCowley
left a comment
There was a problem hiding this comment.
A few minor changes, and a suggestion about how the behaviour of this setting could be changed
Co-authored-by: Sascha Cowley <16543535+SaschaCowley@users.noreply.github.com>
# Conflicts: # user_docs/en/changes.md
Qchristensen
left a comment
There was a problem hiding this comment.
Reads well and will be a welcome change for users
Fix-up of #17997 [Reported](https://groups.io/g/nvda-fr/topic/nvda_2026_1_beta_et_l_annonce/118894622) on French mailing list. ### Summary of the issue: In 2026.1beta versions, spelling errors are no longer reported in Word legacy. ### Description of user facing changes: Spelling errors can now again be reported in Word legacy. ### Description of developer facing changes: N/A ### Description of development approach: In #17997, the config key "reportSpellingErrors" has been modified to "reportSpellingErrors2" due to upgrade. But one use of this config key has been forgotten. It is being fixed here. ### Testing strategy: Manual tests with legacy and UIA Word. ### Known issues with pull request: N/A
Link to issue number:
Closes #4233
Supersedes #10474
Summary of the issue:
Users want to have spelling errors reported by a sound rather than by a spoken phrase while reading.
Description of user facing changes
In Document formatting settings, reporting of spelling errors is now controlled with a 3-choice combo box:
The default is still to report spelling errors by speech.
As previously, spelling errors are not reported when navigating by cell (in tables), or by paragraph.
"out of spelling error" is still reported as a spoken message in any case since defining a sound for this specific message would not be worth it; this message is only reported during the navigation by character or word.
Context:
#4233 is open for more than 10 years. a solution is asked from time to time and having it fixed would really be useful.
PR #10474 was opened more than 5 years ago as a solution for this issue; thanks @jcsteh for this first work. Unfortunately it has been closed as abandoned.
This PR is an attempt to provide a minimal fix for #4233 so that the feature is not delayed 5 more years.
Description of development approach
ReportSpellingErrors.OFFvalue is 0 and thus evaluate as aFalseboolean, so that spelling errors are retrieved in text info only for speech or sound.Testing strategy:
Known issues with pull request:
For simplicity, grammar error reporting is not handled in this PR. This point can be discussed/changed in a subsequent issue or PR if needed. Replacing grammar errors reporting by a sound would require to have a different sound, that can be distinguished from spelling error sound, but that would record it, e.g. a different buzzer sound. The problem is that grammar errors are rarely reported in NVDA: they are frequent in Word but NVDA does not report them and they are reported on the web but are rarely present there. Using a sound for a rare event is problematic because becomes difficult for people to learn for what the sound is used.
This PR is a minimalist and pragmatic solution for Provision of indication options for reporting spelling errors. #4233. An alternative could be a more general architecture allowing to replace by sounds more formatting or structural indications while reading text. My position is to merge this small PR to address the spelling error concern quite quickly and allow to develop a more ambitious and general framework in the future if/when needed.
Code Review Checklist:
@coderabbitai summary