microsoft / microsoft/pxt-microbit
Keyboard navigation: Focus is lost after activating "Go Back" button on Open Simulator Data page (Data Logging Examples)
Nobody has claimed this yet.
- 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:
- Navigate to https://makecode.microbit.org/beta.
- Scroll to the Data Logging Examples category.
- Click the "Open in Editor" button under any card.
- Use Tab to move focus to the "Show data (Simulator)" button.
- Press Enter to open the Simulator Data page.
- Press Tab again to move focus to the "Go Back" button.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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