Skip to content

fix: scope passive block focus to keyboard navigation#10063

Merged
mikeharv merged 1 commit into
RaspberryPiFoundation:mainfrom
microbit-matt-hillsdon:fix/passive-focus-keyboard-nav-scope
Jun 24, 2026
Merged

fix: scope passive block focus to keyboard navigation#10063
mikeharv merged 1 commit into
RaspberryPiFoundation:mainfrom
microbit-matt-hillsdon:fix/passive-focus-keyboard-nav-scope

Conversation

@microbit-matt-hillsdon

Copy link
Copy Markdown
Collaborator

The passive-focus selector for blocks and connection paths lacked the .blocklyKeyboardNavigation gate that the sibling field and icon selectors in the same rule already have, so passive block outlines leaked into mouse-only usage. It also never honored the dropdown/widget-div guard its own comment promised. Scope it identically to the field/icon selectors.

The basics

The details

Resolves

Fixes #10062

Proposed Changes

Reason for Changes

Test Coverage

Documentation

Additional Information

The passive-focus selector for blocks and connection paths lacked the
.blocklyKeyboardNavigation gate that the sibling field and icon selectors
in the same rule already have, so passive block outlines leaked into
mouse-only usage. It also never honored the dropdown/widget-div guard its
own comment promised. Scope it identically to the field/icon selectors.

Closes RaspberryPiFoundation#10062
@microbit-matt-hillsdon microbit-matt-hillsdon requested a review from a team as a code owner June 24, 2026 13:46
@github-actions github-actions Bot added the PR: fix Fixes a bug label Jun 24, 2026
@mikeharv mikeharv merged commit 3483274 into RaspberryPiFoundation:main Jun 24, 2026
9 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.

only show passive focus for keyboard navigation

2 participants