Skip to content

[WIP] Fix keyboard arrow navigation through Otter blocks on WP#2830

Open
Codex wants to merge 4 commits into
developmentfrom
codex/navigating-otter-blocks-keyboard-arrows
Open

[WIP] Fix keyboard arrow navigation through Otter blocks on WP#2830
Codex wants to merge 4 commits into
developmentfrom
codex/navigating-otter-blocks-keyboard-arrows

Conversation

@Codex

@Codex Codex AI commented May 28, 2026

Copy link
Copy Markdown

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>Navigating through Otter blocks using keyboard arrows on latest WP</issue_title>
<issue_description>### Description

I'm not sure if this is an issue from core or is there something to do from Otter.
Navigating using keyboard arrows doesn't work as before WP 7.0. I've tried to showcase in the video
https://github.com/user-attachments/assets/89f7efa3-91a1-4ff7-b107-c08fcabd7ad8

Step-by-step reproduction instructions

https://secure.helpscout.net/conversation/3333301161/490282

Screenshots, screen recording, code snippet or Help Scout ticket

No response

Environment info

No response

Is the issue you are reporting a regression

No</issue_description>

<agent_instructions> Moving through block structure with keyboard arrows does not work.
Full widith block does not work.
Maybe more but I'm frustrated enough to look for it. 2. Keyboard Navigation
Regarding the arrow key navigation, this behavior stems from core architectural changes introduced in the latest WordPress release. It currently impacts standard WordPress core blocks as well, not just Otter. I will share this with the development team for review to see if there is something that can be done from Otter's side.</agent_instructions>

Comments on the Issue (you are @codex[agent] in this section)

Co-authored-by: Soare-Robert-Daniel <17597852+Soare-Robert-Daniel@users.noreply.github.com>
Soare-Robert-Daniel and others added 2 commits June 19, 2026 16:04
Move the arrow-key navigation test out of section.spec.js (where it
queried the top document and found no blocks under the WP 7.0 iframed
canvas) into a dedicated, canvas-aware spec covering sibling navigation
up/down, multi-hop presses, no-sibling boundaries, and the modifier-key
guard.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Soare-Robert-Daniel Soare-Robert-Daniel marked this pull request as ready for review June 22, 2026 10:20
@pirate-bot

Copy link
Copy Markdown
Contributor

Bundle Size Diff

Package Old Size New Size Diff
Animations 178.27 KB 178.27 KB 0 B (0.00%)
Blocks 1.52 MB 1.52 MB 1.87 KB (0.12%)
CSS 7.87 KB 7.87 KB 0 B (0.00%)
Dashboard 111.06 KB 111.06 KB 0 B (0.00%)
Onboarding 68.14 KB 68.14 KB 0 B (0.00%)
Export Import 4.7 KB 4.7 KB 0 B (0.00%)
Pro 328.43 KB 328.43 KB 0 B (0.00%)

@pirate-bot

Copy link
Copy Markdown
Contributor

Plugin build for ebb55c4 is ready 🛎️!

@pirate-bot

Copy link
Copy Markdown
Contributor

E2E Tests

Playwright Test Status: See serial and parallel matrix jobs

Performance Results serverResponse: {"q25":424.3,"q50":429.95,"q75":438.9,"cnt":10}, firstPaint: {"q25":596.8,"q50":631.95,"q75":725.4,"cnt":10}, domContentLoaded: {"q25":3320,"q50":3355.65,"q75":3366.3,"cnt":10}, loaded: {"q25":3322,"q50":3357.95,"q75":3368.5,"cnt":10}, firstContentfulPaint: {"q25":3821.4,"q50":3846.15,"q75":3884,"cnt":10}, firstBlock: {"q25":13269.4,"q50":13453.05,"q75":13630.4,"cnt":10}, type: {"q25":23.75,"q50":25.03,"q75":25.35,"cnt":10}, typeWithoutInspector: {"q25":19.17,"q50":20.51,"q75":21.62,"cnt":10}, typeWithTopToolbar: {"q25":28.11,"q50":28.56,"q75":31.62,"cnt":10}, typeContainer: {"q25":12.88,"q50":13.24,"q75":13.74,"cnt":10}, focus: {"q25":98.73,"q50":104.99,"q75":112.08,"cnt":10}, inserterOpen: {"q25":36.72,"q50":38.29,"q75":39.7,"cnt":10}, inserterSearch: {"q25":13.33,"q50":13.56,"q75":13.91,"cnt":10}, inserterHover: {"q25":5.01,"q50":5.14,"q75":5.26,"cnt":20}, loadPatterns: {"q25":1457.83,"q50":1518.22,"q75":1631.98,"cnt":10}, listViewOpen: {"q25":208.36,"q50":220.37,"q75":238.08,"cnt":10}

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.

Navigating through Otter blocks using keyboard arrows on latest WP

3 participants