Skip to content

fix: Do not re-announce moves that stay on the same connection target - #10308

Merged
mikeharv merged 1 commit into
RaspberryPiFoundation:mainfrom
mikeharv:no-repeats
Aug 21, 2026
Merged

fix: Do not re-announce moves that stay on the same connection target#10308
mikeharv merged 1 commit into
RaspberryPiFoundation:mainfrom
mikeharv:no-repeats

Conversation

@mikeharv

Copy link
Copy Markdown
Contributor

The basics

The details

Proposed Changes

Adds an early return before announcing move mode updates if the target connection has not changed.

Reason for Changes

Prevents repeated/stuttering announcements like "M-M-M-M-Moving on workspace."
This check is based on the actual connections themselves rather than a simple announcement string comparison. This is necessary so that moves to distinct connections with the same labels (e.g. empty else ifs) are still announced.

Test Coverage

One new test checks that the live region is not updated between several on-workspace drags.
The other new ensures that identical move announcements can still happen when expected.

I manually tested these changes using VoiceOver with speech unmuted.

@mikeharv
mikeharv requested a review from a team as a code owner August 21, 2026 15:48
@mikeharv
mikeharv requested a review from lizschwab August 21, 2026 15:48
@github-actions github-actions Bot added the PR: fix Fixes a bug label Aug 21, 2026
@mikeharv
mikeharv merged commit b340469 into RaspberryPiFoundation:main Aug 21, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants