Skip to content

Windows 11 emoji panel: prevent speech repetition while browsing panel items#18237

Merged
seanbudd merged 5 commits into
nvaccess:masterfrom
josephsl:i18236win11EmojiPanelItemRepetitions
Jun 11, 2025
Merged

Windows 11 emoji panel: prevent speech repetition while browsing panel items#18237
seanbudd merged 5 commits into
nvaccess:masterfrom
josephsl:i18236win11EmojiPanelItemRepetitions

Conversation

@josephsl

Copy link
Copy Markdown
Contributor

Link to issue number:

Fixes #18236

Summary of the issue:

NVDA repeats Windows 11 emoji panel items twice while browsing them.

Description of user facing changes:

NVDA will no longer speak Windows 11 emoji panel items twice.

Description of developer facing changes:

NVDA will call nextHandler() when handling UIA element selected event while focused on the emoji panel.

Description of development approach:

When handling element selected event, call nextHandler() if focused on the emoji panel. This also improves element selected event performance as emoji panel item selection announcement will not involve traversing the event handler to the end.

Testing strategy:

Manual: open Windows 11 emoji panel (Windows+Period) and make sure NVDA is announcing selected item once.

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.

@coderabbitai summary

josephsl added 4 commits June 10, 2025 07:04
…ementation of event_selection routine handle emoji panel item announcement while the panel is focused. Re nvaccess#18236.

Suppose a Windows 11 user presses Windows+Peroid (.) to open the emoji panel and presses arorw keys to review emojis. NVDA will announce items twice because:
1. The app module implementation of UIA element selected event will announce panel entris after setting navigator object ot them.
2. In the base NVDA object implementation of event_selection (which the UIA element selected event handler fro mthe base UIA object invokes), selected eoji panel item is announced again because the focused app is indeed modern keyboard.
Therefore, let the base UIA object handle panel item announcement on Windows 11 because emoji panel takes system focus. This prevents item repetitions.
@josephsl josephsl requested a review from a team as a code owner June 10, 2025 14:39
@josephsl josephsl requested a review from seanbudd June 10, 2025 14:39

@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 @josephsl

@seanbudd seanbudd merged commit a6eed55 into nvaccess:master Jun 11, 2025
17 checks passed
@github-actions github-actions Bot added this to the 2025.2 milestone Jun 11, 2025
@josephsl josephsl deleted the i18236win11EmojiPanelItemRepetitions branch June 15, 2025 12:07
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.

Windows 11 emoji panel: NVDA repeats emoji entries in speech

2 participants