Skip to content

Restore the ability to report Emphasis formatting#11813

Merged
michaelDCurran merged 2 commits into
nvaccess:masterfrom
CyrilleB79:restoreEmphase
Nov 6, 2020
Merged

Restore the ability to report Emphasis formatting#11813
michaelDCurran merged 2 commits into
nvaccess:masterfrom
CyrilleB79:restoreEmphase

Conversation

@CyrilleB79

Copy link
Copy Markdown
Contributor

Link to issue number:

Fixes #11808
Closes #11640
Fix-up of #11436

Summary of the issue:

When #11436 was merged, the check of formatConfig["reportEmphasis"] in getFormatFieldSpeech (speech_init_.py) was dropped. Thus the Emphasis checkbox in doc formatting settings did not control anything more and reporting of emphasised and strong formatting were controlled by 'Marked' checkbox state.
This was clearly not the intent of this PR if you read the first point of "Known issues" paragraph in the initial description.

Description of how this pull request fixes the issue:

Restored the dropped code line.

Testing performed:

  • Tested in IE that emphasis and strong are reported when Emphasis document formatting checkbox is checked.
  • Tested in IE that marked is stilll reported when Marked document formatting checkbox is checked.
    It was tested on this document.

Known issues with pull request:

Emphasis or strong, reported when respectively or tags are encountered, are only reported in Internet Explorer. This seemed however to be already the case also before the regression, i.e. in NVDA 2020.2.

Change log entry:

Section: Bug fixes

Restored the ability to report Emphase formatting. (#11808, #11640)

Cc @michaelDCurran to confirm this PR conforms to his initial intention.

@AppVeyorBot

Copy link
Copy Markdown

See test results for failed build of commit 36cc1f9503

@AppVeyorBot

Copy link
Copy Markdown

See test results for failed build of commit 86346a48aa

@michaelDCurran michaelDCurran changed the title Restore the ability to report Emphase formatting Restore the ability to report Emphasis formatting Nov 6, 2020
@michaelDCurran michaelDCurran merged commit cb82f50 into nvaccess:master Nov 6, 2020
@nvaccessAuto nvaccessAuto added this to the 2020.4 milestone Nov 6, 2020
@CyrilleB79 CyrilleB79 deleted the restoreEmphase branch November 6, 2020 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Emphasised text is not reported according to its setting in IE Reporting Of Marked (Highlighted) Text Should be Disabled By Default

4 participants