nvda
9fac0d83 - Fix NVDA reading the Unicode hyphen (U+2010) as hyphen (#19114) (#19248)

Commit
76 days ago
Fix NVDA reading the Unicode hyphen (U+2010) as hyphen (#19114) (#19248) Resolves #19114 Summary of the issue: NVDA reads the Unicode hyphen (U+2010) differently from the standard ASCII hyphen-minus (U+002D). When U+2010 appears inside compound words like "open‑source", NVDA would read it explicitly as “open hyphen source” which is incorrect. Description of user facing changes: Compound words containing U+2010 are now read naturally without calling out “hyphen.” Description of developer facing changes: Added the following line to source/locale/en/symbols.dic under Standard punctuation/symbols: hyphen most always This ensures U+2010 is preserved inside words but not spoken explicitly. Description of development approach: U+2010 (Unicode hyphen) previously had level=0 and preserve=0, causing it to be read aloud as “hyphen” inside words. By adding an entry in source/locale/en/symbols.dic: This sets an appropriate level and preserve value so that U+2010 is preserved in compound words but not explicitly spoken.
Author
Parents
Loading