-
-
Notifications
You must be signed in to change notification settings - Fork 716
Added ability to report spelling errors in braille #18641
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
base: master
Are you sure you want to change the base?
Conversation
Hi, interesting. May I suggest using a Unicode braille pattern to surround the spelling/grammar error so people would not become confused, thinking that “m” is part of the text when it isn’t? Thanks.
|
@nvdaes, I have not tested this PR myself. I acknowledge the need to have spelling errors reported in brailles, especially, but not only, for deaf blind users. Until now:
These 2 items were not linked. Now, the UX proposed in this PR links them, making the definition of a font attribute much less clear, and actually inexact. And what if I want to have spelling errors reported in braille but not by speech? IMO, to be able to customise how additional text information is reported in braille (font attributes, spelling mistakes, we need a specific dedicated panel for Braille formatting reporting. |
@nvdaes I agree with @CyrilleB79 that this should not be controlled by the "font attributes" option. I suggest that we change the "spelling errors" option to allow the user to select speech and/or braille as can be done with font attributes. This will require changing the way NVDA calculates the indicators in braille. I think the approach I would take would be to add a callable to |
@SaschaCowley and @CyrilleB79 , I see what Cyrille means and I agree with you, Sascha. I like your idea and I'll try to implement it. |
Why did you use "m" letter while we have "Spelling errors" in the UI, and not "Mistakes"? Have you considered using "e" instead? |
Yes, in fact I have considered using "e". I'll change this and will continue my work when your PR to add ability to use audio is merged.
|
@SaschaCowley you wrote:
What do you suggest regarding the GUI and taking into account the work in #17997 (see more specifically #17997 (comment))? @nvdaes you wrote:
Feel free to do so when the final design is clearer and if you still find it appropriate. |
@CyrilleB79 thanks for bringing that to my attention. I'm not sure of a good solution at present. I'll talk to the team about it. |
@CyrilleB79 @nvdaes We think that a check list with "speech", "sound" and "braille" options is most appropriate in this case. These could be internally stored as a bit flag. |
Sascha wrote:
I agree with this proposal. I'll continue my work, as mentioned, when Cyrille's work about sound and speech is merged. |
How would you modify the toggle script? |
Cyrille wrote:
Probably I would remove it, but I would study other similar cases to decide the best way to proceed. |
@CyrilleB79 we could remove it, make the script cycle between all options, or add new scripts to toggle braille and speech/sound |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@nvdaes #17997 has just been merged. You can now continue with this PR if you wish. Regarding the toggle script, I suggest:
|
Cyrille wrote:
OK, I'll ask you if I have any questions when I continue working for this BTW, in changes.md, I will mention just my username for this, since Jamie and you were mentioned in the PR about reporting errors with sounds, and this work is just an addition based on your previous work. |
…speech and braille
I think we should make the following modes available to cycle with a script to report spelling errors:
Probably the toggle integer value is not appropriate here. |
@CyrilleB79 , think that I've addressed your review. |
Link to issue number:
Fixes #7608
Summary of the issue:
Currently, spelling errors aren't presented in braille. This may negatively impact deaf-blind people and other braille users.
Description of user facing changes:
If NVDA is configured to report Font attributes in braille (or speech and braille), and to announce spelling errors, these mistakes would be presented in braille with the "m" letter (m stands for mistake).
Description of developer facing changes:
None.
Description of development approach:
Added a new item in the
fontAttributeFormattingMarkers
dictionary ofbraille.py
for spelling errors (invalid-spelling
).Testing strategy:
Tested locally in Microsoft Word and Notepad, typing text detected as spelling errors.
Known issues with pull request:
None.
Code Review Checklist:
@coderabbitai summary