-
-
Notifications
You must be signed in to change notification settings - Fork 760
Description
Steps to reproduce:
Create a web page with a negative dollar amount that uses the minus character (https://www.fileformat.info/info/unicode/char/2212/index.htm), such as <p>−$100</p> and navigate to it with NVDA + any browser.
Actual behavior:
Amount reads as "one hundred dollars" with no mention of the minus symbol.
Expected behavior:
Amount reads as "minus one hundred dollars", the same as it would with a dash instead of minus symbol.
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
2019.2.1
Windows version:
Win10 x64 Home
Name and version of other software in use when reproducing the issue:
Firefox 72, Chrome 79
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.
2019.2, same.
Issue is likely due to only the dash character being included in the symbols dictionary, as well as the regex for negative amounts. Negative amounts were addressed by 0f437f0 but it looks like this only included the dash symbol, and not the actual minus symbol. Can also see more here: #3805 (comment)