-
-
Notifications
You must be signed in to change notification settings - Fork 638
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
non visible characters are displayed on braille displays, how to avoid that? #10634
Comments
cc: @bramd, @dkager, @Andre9642, @LeonarddeR |
U+FEFF is displayed in Firefox if an UTF-8 with BOM encoded html/php file is included. This isn't the case if you include UTF-8 without BOM encoded html/php files. Eliminating this Unicode character has to be done in my opinion by the web browsers – but always as an option. This is NOT a Liblouis or braille issue. These Unicode characters are also sent to the TTS. See also: https://en.wikipedia.org/wiki/Byte_order_mark#Byte_order_marks_by_encoding PS: I guess that there already exist similar NVDA issues regarding these Unicode characters. Maybe I find them later. |
However, in my view it would be cool if there is a possibility to avoid displaying these characters from NVDA or Liblouis perspective. You can also see it as a feature if you like, for me it is a bug because the braille translates characters which are not visible for sighted people for example. This is also how we treat pronounciation of non visible elements.
|
@Adriani90: I guess you missed this sentence, which I added to my previous comment a few minutes later after publishing.
Thus I suggest to add a new list with checkboxes called "Ignored Unicode code points". Example Unicode code points: U+00FF, U+200E, U+200F, U+FEFF, U+FFFC and U+FFFE I'm not sure how we should implement such a list. Shall we make it generally for all TTS and all braille tables/displays at the same time or separate lists for each TTS and braille table/display? All these checkboxes should be enabled by default, as non-technical users won't miss these Unicode code points. But I would miss them! And web developers would also miss them as they need them to check if html/php files are correctly included. |
@Adriani90: Please also read question No. ⠣ in the HUC Braille Tables documentation. |
It would be good if some people chould share their experiences on this. In my view this is kind of annoying when working with a braille display and such non visible characters are using the limited space on the display. |
just a suggestion for this issue: |
@gregjozk: Your suggestion would also influence all end applications in which Liblouis is included. I wouldn't want to do that. |
I'm quite sure related issues have been opened earlier, but I can't find them right now. There are a few solutions to this:
|
Agreed that seeing things like \xfffc is annoying and a waste of space on a display. However, these characters are still valid, and need to take up one braille cell at an absolute minimum, so that they can be routed to. Of course in the cases where they are only presentational within non-interactive text, then they should be stripped much earlier in NvDA, before it even reaches braille. |
Steps to reproduce:
Reported by several users on different groups.
i.e.
Actual behavior:
Characters like '\xfffc' (object replacement character) or 'XFeFF' (zero with no break space) are displayed on the braille display. These and more such characters are not only displaed on Twitter but also on Windows explorer and other programs.
Expected behavior:
Such invisible characters should not be processed by the braille displays.
System configuration
NVDA installed/portable/running from source:
Installed and portable
NVDA version:
2019.3 Beta 1, 2019.2.1, 2019.1.1
Windows version:
mainly Windows 10
Name and version of other software in use when reproducing the issue:
Firefox, Google Chrome, Windows explorer and others.
Other information about your system:
Other questions
Does the issue still occur after restarting your PC?
yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
no
The text was updated successfully, but these errors were encountered: