Skip to content

feat: allow setting custom role description for blocks#9777

Merged
maribethb merged 2 commits intoRaspberryPiFoundation:v13from
maribethb:block-role
Apr 30, 2026
Merged

feat: allow setting custom role description for blocks#9777
maribethb merged 2 commits intoRaspberryPiFoundation:v13from
maribethb:block-role

Conversation

@maribethb
Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes #9753

Proposed Changes

  • allows setting a custom aria role description for blocks in both json and javascript
  • added the json property to the json block definition interface
  • added tests
  • changed the message for "statement blocks" to "command blocks" as agreed upon by user testing/microbit vocab

Reason for Changes

Test Coverage

Documentation

Additional Information

@maribethb maribethb requested a review from a team as a code owner April 29, 2026 21:05
@maribethb maribethb requested a review from gonfunko April 29, 2026 21:05
@github-actions github-actions Bot added the PR: feature Adds a feature label Apr 29, 2026
Copy link
Copy Markdown
Contributor

@gonfunko gonfunko left a comment

Choose a reason for hiding this comment

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

LGTM once the test failure is resolved

@maribethb maribethb merged commit 771f9ea into RaspberryPiFoundation:v13 Apr 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: feature Adds a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants