Skip to content

NVDA isn't ignoring soft hyphens properly #9343

@Michael-Detmers

Description

@Michael-Detmers

Steps to reproduce:

  1. Save and open the following HTML:
    <!DOCTYPE html>
    <html lang="en">
      <head>
    	<title>Hyphenation Test</title>
      </head>
      <body>
      <h1>Hooray for Hyphen&shy;ation</h1>
      <p>This text contains some Hyphen&shy;ation. Hope&shy;fully it is not in&shy;com&shy;pre&shy;hen&shy;sible. Usually NVDA can process soft hyphens in documents pretty well, but did you notice the previous word "incomprehensible"?</p>
      <p>Pay attention to the word "pronunciation", which is pronunced differently with soft hyphens in it:</p>
      <p><strong>With: </strong> "pro&shy;nun&shy;cia&shy;tion"</p>
      <p><strong>Without:</strong> "pronunciation"</p>
      <h2>Pro&shy;nun&shy;cia&shy;tion is the key to under&shy;standing the spoken word</h2>
      <p><strong>Did you know?</strong> Soft hyphens have been around since the 80s!</p>  
      <p>The next heading does not contain hyphens.</p>
      <h2>Pronunciation is the key to understanding the spoken word</h2>
      <p>It's a pitty hyphenation cannot be reliably applied via CSS.</p>
      </body>
    </html>
  2. Read the document with NVDA.
  3. Access NVDA's Element Browser via the NVDA-key + F7.
  4. In the Element Browser, switch to headings and let NVDA read the entries to you. (Soft hyphens are shown in the display.)

Actual behavior:

Soft hyphens are splitting words and causing odd pronunciations.

Expected behavior:

Soft hyphens are ignored.

System configuration

NVDA installed/portable/running from source:

installed

NVDA version:

2018.4.1

Windows version:

Win 7 64 bit

Name and version of other software in use when reproducing the issue:

Firefox 65.0.2

Other information about your system:

Default language is German (but that shouldn't mattern, should it?)

Other questions

Does the issue still occur after restarting your PC?

yes

Have you tried any other versions of NVDA?

no

Log

nvda.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/speechp3https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions