microsoft / microsoft/pxt-microbit

Keyboard navigation: Focus is lost after activating "Go Back" button on Open Simulator Data page (Data Logging Examples)

Open
#6,887 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

keyboard navigation P2
Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

Describe the bug
When using default keyboard navigation (Tab/Enter) in the MakeCode editor, focus is lost after activating the "Go Back" button on the Open Simulator Data page accessed from Data Logging Examples.

Steps to reproduce the behavior:

  1. Navigate to https://makecode.microbit.org/beta.
  2. Scroll to the Data Logging Examples category.
  3. Click the "Open in Editor" button under any card.
  4. Use Tab to move focus to the "Show data (Simulator)" button.
  5. Press Enter to open the Simulator Data page.
  6. Press Tab again to move focus to the "Go Back" button.
  7. Press Enter and observe the focus behavior.

Actual behavior
Focus is lost after activating the "Go Back" button in the Open Simulator Data page. No visible focus indicator remains on the UI.

Expected behavior
After activating the "Go Back" button, focus should return to the "Show data (Simulator)" button to ensure a consistent and accessible keyboard navigation experience.

Screen Recording
https://github.com/user-attachments/assets/058766da-2c15-45b6-8e0e-446f334dce02

Additional context
1.OS: Windows 11 25H2 & Mac Mini M2 macOS Tahoe 26.5
2.Browser: Chrome, Edge, Firefox, and Safari
3.makecode.microbit.org version: 8.1.17
4.Microsoft MakeCode version: 12.3.12

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the keyboard flow on the beta MakeCode editor, then trace the "Show data (Simulator)" and "Go Back" navigation behavior. Done means activating "Go Back" restores focus to the "Show data (Simulator)" button with a visible focus indicator across the reported browsers.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.