Skip to content

Add screen reader mode support, deprecate keyboard controls toggle#15

Merged
microbit-matt-hillsdon merged 1 commit into
mainfrom
iframe-screen-reader-mode
Jul 17, 2026
Merged

Add screen reader mode support, deprecate keyboard controls toggle#15
microbit-matt-hillsdon merged 1 commit into
mainfrom
iframe-screen-reader-mode

Conversation

@microbit-matt-hillsdon

@microbit-matt-hillsdon microbit-matt-hillsdon commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Update for pxt-microbit v9 where keyboard controls are on by default and additional features for SR users are optional extras (base SR functionality is always present).

Adds MakeCodeFrameDriver.toggleScreenReaderMode() sending the new "togglescreenreadermode" action and an optional screenReaderMode field on the info response. toggleKeyboardControls() remains for API compatibility but is deprecated as current MakeCode versions keep keyboard controls always enabled, so it does nothing.

The storybook toolbar button now exercises the screen reader toggle, and the editor stories' version control gains a "local" option pointing at a locally running pxt-microbit dev server for testing unreleased editor changes.

Depends on microsoft/pxt#11459 which is now in live MakeCode.

Adds MakeCodeFrameDriver.toggleScreenReaderMode() sending the new
"togglescreenreadermode" action and an optional screenReaderMode field
on the info response, both supported by the next MakeCode release.
toggleKeyboardControls() remains for API compatibility but is
deprecated as current MakeCode versions keep keyboard controls always
enabled, so it does nothing.

The storybook toolbar button now exercises the screen reader toggle,
and the editor stories' version control gains a "local" option pointing
at a locally running pxt-microbit dev server for testing unreleased
editor changes.
@microbit-matt-hillsdon
microbit-matt-hillsdon marked this pull request as ready for review July 17, 2026 08:19

@microbit-grace microbit-grace left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@microbit-matt-hillsdon
microbit-matt-hillsdon merged commit a2c920b into main Jul 17, 2026
4 checks passed
@microbit-matt-hillsdon
microbit-matt-hillsdon deleted the iframe-screen-reader-mode branch July 17, 2026 09:01
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.

2 participants