Skip to content

Conversation

@BenHenning
Copy link
Collaborator

@BenHenning BenHenning commented Aug 6, 2025

Fixes #686

This updates the GH pages workflow to:

This will approximately double the amount of time needed for the GH pages deployment since it requires building two distinct copies of core Blockly and the plugin (tip-of-tree versions and the screen reader experimentation versions).

Conveniently, this will act as a fast way to see screen reader changes since they will go live a few minutes after a change to the plugin. Unfortunately, that does not reciprocate for changes to core Blockly (where most of the screen reader changes will actually occur), so oftentimes a manual run of the workflow will be needed (which should suffice in those cases).

Note that this needs to be approached in this way (building and uploading both projects for changes to either branch) since the action being used for deployment doesn't support partial deployment. See: actions/deploy-pages#349.

@BenHenning
Copy link
Collaborator Author

I will put this in review once I can validate it on my fork (which will require #684 to be merged, first).

Copy link
Collaborator Author

@BenHenning BenHenning left a comment

Choose a reason for hiding this comment

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

Self-checked the code, and updated one line that was wrong.

…ryPiFoundation#684)

Fixes part of RaspberryPiFoundation/blockly#3370
Fixes part of RaspberryPiFoundation/blockly#9283

This PR introduces the plugin corresponding changes needed by RaspberryPiFoundation/blockly#9280.

In particular, this:
- Introduces CI workflow updates so that "tip-of-tree" is redefined as the corresponding experimental branch in core for screen reader support (to ensure CI passes here for changes that happen there).
- Removes some access error overrides since the corresponding field was made public in the core PR (which is the root of the CI failures here).
- Introduces some general instructions in the navigation plugin playground for folks testing Blockly with a screen reader (and points to RaspberryPiFoundation#673 for discussion).

**Important**: Note that this PR's changes will NOT be merged into the `main` branch as-is. They will be reconsidered entirely (and likely largely reimplemented) separately from this experimental branch and submitted as a separate, future review for `main`. See RaspberryPiFoundation/blockly#9280 and Fixes part of RaspberryPiFoundation/blockly#9283 for more specifics on why the separate branch thing is being set up this way.
…pages-deployment-for-screen-reader-experiment
@BenHenning
Copy link
Collaborator Author

I've verified that this is working correctly in a fork: https://benhenning.github.io/blockly-keyboard-experimentation/screenreader/ deploys with BenHenning#4. I'll leave that live until this PR is ready to merge (since otherwise removing my direct change to my fork's main branch will undo the deployment).

Copy link
Collaborator Author

@BenHenning BenHenning left a comment

Choose a reason for hiding this comment

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

Self-reviewed latest.

@BenHenning BenHenning marked this pull request as ready for review August 11, 2025 21:57
@BenHenning BenHenning requested a review from a team as a code owner August 11, 2025 21:57
@BenHenning BenHenning requested review from gonfunko and removed request for a team August 11, 2025 21:57
@BenHenning BenHenning merged commit 9dac4bd into RaspberryPiFoundation:main Aug 12, 2025
10 of 11 checks passed
@BenHenning BenHenning deleted the update-gh-pages-deployment-for-screen-reader-experiment branch August 12, 2025 15:33
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.

Add automatic deployment for screen reader staging branch

2 participants