Skip to content

feat!: add shortcuts to navigate between headings in the flyout#9874

Open
maribethb wants to merge 3 commits into
RaspberryPiFoundation:v13from
maribethb:flyout-headings
Open

feat!: add shortcuts to navigate between headings in the flyout#9874
maribethb wants to merge 3 commits into
RaspberryPiFoundation:v13from
maribethb:flyout-headings

Conversation

@maribethb
Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes #9618

Proposed Changes

  • Adds H and Shift+H shortcuts to jump between headings in the flyout. shortcut has no effect if the flyout is not focused.
  • Pops a toast if you press "enter" while on a flyout header (not a button) telling you to find a block or use a different key to switch headings

Reason for Changes

Screenreader users found it confusing to navigate flyouts and kept trying to "insert" while focused on a heading

Test Coverage

Added (ai-assisted) tests and manually tested

BREAKING CHANGE

This is only breaking because it adds two new keyboard shortcuts for H and shift+H. If you don't already have shortcuts registered for these keys, it does not break you.
if you do have shortcuts registered for those keys, you may be able to keep both of them if your shortcut does not trigger in the flyout.
If the shortcuts do collide, we recommend that you change the keybinding for one of them so that screenreader users still have this navigational aid.

@maribethb maribethb requested a review from a team as a code owner May 14, 2026 20:40
@maribethb maribethb requested a review from lizschwab May 14, 2026 20:40
@github-actions github-actions Bot added breaking change Used to mark a PR or issue that changes our public APIs. PR: feature Adds a feature labels May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Used to mark a PR or issue that changes our public APIs. PR: feature Adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants