Skip to content

Fix status reporting of speech modes checkboxes#16006

Merged
seanbudd merged 2 commits into
nvaccess:betafrom
ABuffEr:fixSpeechModesListAnnouncement
Jan 7, 2024
Merged

Fix status reporting of speech modes checkboxes#16006
seanbudd merged 2 commits into
nvaccess:betafrom
ABuffEr:fixSpeechModesListAnnouncement

Conversation

@ABuffEr

@ABuffEr ABuffEr commented Jan 5, 2024

Copy link
Copy Markdown
Contributor

Link to issue number:

Fixes #16005.

Summary of the issue:

When enabling/disabling checkboxes in the speech modes list, under voice settings, the new status was not reported by speech or Braille.

Description of user facing changes

Now user hears "enabled" or "disabled", and gets his Braille display refreshed.

Description of development approach

PR #15960 has introduced a new handler of EVT_CHECKLISTBOX event for speechModesList.

But this latter is an nvdaControls.CustomCheckListBox, that already defines an handler for that event, to fix specifically this accessibility issue of wx.

So I simply put evt.Skip() at the beginning of new handler, to propagate event to custom control handler.

Testing strategy:

Manual, with steps of #16005.

I verified also that, unchecking "talk" mode, the warning dialog (introduced by PR #15960) is still shown, and choosing "yes" or "no" the behavior remains coherent (checkbox disabled answering "yes" to continue, still enabled answering "no").

Known issues with pull request:

None.

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • API is compatible with existing add-ons.
  • Security precautions taken.

@lukaszgo1 lukaszgo1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please explicitly mention in your testing steps that you have verified that when the 'talk' mode is unchecked warning is shown, and answering both affirmative and negative behaves as expected.

Comment thread source/gui/settingsDialogs.py Outdated
Co-authored-by: Łukasz Golonka <lukasz.golonka@mailbox.org>
@ABuffEr

ABuffEr commented Jan 5, 2024

Copy link
Copy Markdown
Contributor Author

Please explicitly mention in your testing steps that you have verified that when the 'talk' mode is unchecked warning is shown, and answering both affirmative and negative behaves as expected.

Done.

@CyrilleB79

Copy link
Copy Markdown
Contributor

@ABuffEr, you have branched from beta branch and you have indicated that you want to have this fix merged into beta. That's OK since this fix an unreleased bug.

However this PR still targets the master branch. To target beta branch, you need to edit the title of this PR. Below the editable field allowing you to change the title of the PR, you will find combo-boxes. One of them is the target branch and you can replace master by beta, and then validate. HTH.

@ABuffEr ABuffEr changed the base branch from master to beta January 6, 2024 22:24
@ABuffEr

ABuffEr commented Jan 6, 2024

Copy link
Copy Markdown
Contributor Author

Hi @CyrilleB79, thanks a lot for your tip! Done, despite some unresponsive behaviors (at least with Firefox).

@seanbudd seanbudd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ABuffEr

@seanbudd seanbudd added this to the 2024.1 milestone Jan 7, 2024
@seanbudd seanbudd merged commit ba19691 into nvaccess:beta Jan 7, 2024
Adriani90 pushed a commit to Adriani90/nvda that referenced this pull request Mar 13, 2024
Fixes nvaccess#16005.

Summary of the issue:
When enabling/disabling checkboxes in the speech modes list, under voice settings, the new status was not reported by speech or Braille.

Description of user facing changes
Now user hears "enabled" or "disabled", and gets his Braille display refreshed.

Description of development approach
PR nvaccess#15960 has introduced a new handler of EVT_CHECKLISTBOX event for speechModesList.

But this latter is an nvdaControls.CustomCheckListBox, that already defines an handler for that event, to fix specifically this accessibility issue of wx.

So I simply put evt.Skip() at the beginning of new handler, to propagate event to custom control handler.
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.

Speech modes status not announced when enabling/disabling from settings

4 participants