9407 Commits

Author SHA1 Message Date
Aaron Dodson 3f9d5c6057 fix: Fix bug that caused focus rings to be inverted in RTL Zelos 2026-04-24 14:14:50 -07:00
Aaron Dodson c211a8955b fix: Disable some shortcuts in the flyout (#9765) 2026-04-24 09:28:05 -07:00
Aaron Dodson bce825daca fix: Don't focus newly created variable blocks when not using keyboard navigation (#9764) 2026-04-24 09:27:12 -07:00
Aaron Dodson 3a14fcc6d3 fix: Fix bug that could cause focus to be lost in Chrome when dismissing a dropdown (#9763) 2026-04-24 09:26:53 -07:00
github-actions[bot] 8879f63fb3 release: v13.0.0-beta.1 blockly-v13.0.0-beta.1 2026-04-23 19:28:39 +00:00
Aaron Dodson 1d159830e4 fix: Improve focus handling when clicking outside injection div (#9749)
* fix: Improve focus handling when clicking outside injection div

* chore: Use 'popover' in place of 'quasimodal'

* chore: Clarify docs
2026-04-23 11:35:32 -07:00
Maribeth Moffatt 10739f9241 fix: dont activate base delete areas for keyboard moves (#9748)
* fix: dont activate base delete areas for keyboard moves

* fix: add tests
2026-04-22 17:10:37 -04:00
Maribeth Moffatt 44d8554622 fix: set role application and fix block readouts (#9747)
* fix: set role application and fix block readouts

* fix: fix tests
2026-04-22 15:49:27 -04:00
Aaron Dodson f899f68654 fix: Don't close the flyout when creating a variable using keyboard nav (#9745)
* feat: Use <dialog> instead of built-in browser alerts

* fix: Don't close the flyout when creating a variable using keyboard nav

* test: Fix tests

* fix: Take ephemeral focus for the dialog

* fix: Remove unneeded focused node check
2026-04-22 08:25:17 -07:00
Maribeth Moffatt 59b05f4aa9 fix: use correct key names for key codes (#9746) 2026-04-22 10:56:39 -04:00
Michael Harvey 9c0846bfab feat: FieldInput ARIA (#9744)
* feat: `FieldInput' ARIA

* chore: update tsdocs

* chore: lint fix

* fix: use aria util for setting role

* fix: use single empty field message
2026-04-21 17:23:18 -04:00
Maribeth Moffatt 36ca80aa30 feat: add display text to shortcuts (#9743)
* feat: add display text to shortcuts

* fix: remove duplicated message
2026-04-21 15:22:25 -04:00
lizschwab 6e3195e223 feat: Update zelos path object to allowlist attributes (#9742) 2026-04-21 11:46:43 -07:00
Aaron Dodson 86a435506b fix: Fix dropdowndiv animations (#9733) 2026-04-21 10:29:37 -07:00
Aaron Dodson 80ee2d5860 fix!: Improve keyboard navigation of icons and bubbles (#9737)
* fix!: Improve keyboard navigation of icons and bubbles

* chore: Fix docstrings

* chore: Remove debugging
2026-04-20 13:44:17 -07:00
Aaron Dodson ca81c9ad05 fix: Improve navigation and movement looping behavior (#9732)
* fix: Default navigation looping to on

* fix: Don't show the unconstrained move hint every time a block is moved to the workspace

* fix: Normalize block movement during drags

* fix: Offset proposed top-level blocks during constrained drags

* fix: Make constrained moves respect the navigator's looping setting

* fix: Fix tests

* chore: Fix docstring

* fix: Show unconstrained move hint only when there are no available connections

* refactor: Use constants
2026-04-20 12:47:30 -07:00
Michael Harvey 16767eaaa2 feat: Screenreader announcements for move mode (#9731)
* feat: Screenreader announcements for move mode

* fix: lint

* fix: update docstrings

* fix: code review changes

* fix: add block id to error
2026-04-20 13:12:02 -04:00
lizschwab 2903ec9f3a fix: Field text hidden from ARIA (#9734) 2026-04-17 15:18:23 -07:00
Aaron Dodson 1de9aa920e fix: Fix bug that caused blocks in flyout to disappear on click in Chrome (#9729) 2026-04-15 09:19:09 -07:00
Aaron Dodson 0e0a516990 fix: Increase contrast of active tree focus ring color (#9726) 2026-04-15 09:18:34 -07:00
Aaron Dodson 743cdd8ff3 fix: Inhibit keyboard navigation shortcuts when the dropdown or widget divs are open (#9724) 2026-04-15 09:17:44 -07:00
Aaron Dodson af9cdea250 chore: Fix import paths (#9723) 2026-04-15 09:15:16 -07:00
Aaron Dodson 0c4ec192ba fix: Fix bug that caused blocks inserted via Enter to not attach (#9699) 2026-04-15 08:29:43 -07:00
Aaron Dodson 91d02eee02 feat: Add basic support for generating ARIA labels and roles for blocks (#9696)
* feat: Add basic support for generating ARIA labels and roles for blocks

* test: Add tests

* chore: Fix lint

* chore: Revert tooling removal of authors

* chore: Adjust casing of method name

* chore: Tweak name of verbosity enum value

* chore: Adjust name of shadow block label method

* chore: Add trailing newline

* chore: Fix method casing

* feat: Add method to retrieve a block's ARIA label

* fix: Fix TSDoc

* chore: Adjust method casing
2026-04-15 08:12:08 -07:00
Aaron Dodson dc2afe3527 fix: Improve accuracy of block navigability detection (#9725) 2026-04-15 08:04:06 -07:00
Aaron Dodson 3b9ed58f71 feat: Add keyboard shortcut for duplicating blocks and workspace comments (#9727)
* feat: Add keyboard shortcut for duplicating blocks and workspace comments

* test: Add tests

* chore: Fix copypasta
2026-04-14 12:47:01 -07:00
Aaron Dodson 4734bf95f0 feat: Add keyboard shortcut to clean up the workspace (#9728)
* feat: Add a keyboard shortcut to clean up the workspace

* test: Add tests
2026-04-14 10:25:32 -07:00
Aaron Dodson 13459a2b53 fix: Fix positioning of move marker on blocks (#9722)
* fix: Fix positioning of move marker on blocks.

* refactor: Move block topline calculation out of loop
2026-04-13 13:24:32 -07:00
Michael Harvey 1478b1f093 chore!: remove unused statuses
This reverts commit 956f049dbd.
2026-04-13 10:51:15 -04:00
lizschwab a61222f727 fix: Add default aria role to svg and group elements (#9697)
* fix: Add default aria role to svg and group elements

* addressed pr feedback
2026-04-10 14:40:42 -07:00
Michael Harvey 956f049dbd Revert "chore: remove unused statuses (#9698)" (#9700)
This reverts commit 229450a1b7.
2026-04-10 16:52:21 -04:00
Michael Harvey 229450a1b7 chore: remove unused statuses (#9698)
* chore: remove unused statuses

* fix: revert removal of valuemax and valuemin
2026-04-10 16:37:51 -04:00
Aaron Dodson c7fd3f339e release: Bump version to 13.0.0-beta.0 (#9693) blockly-v13.0.0-beta.0 2026-04-08 13:29:03 -07:00
Aaron Dodson 41319baf5d feat: Add keyboard shortcut to perform an action on the currently focused element (#9673)
* feat: Add keyboard shortcut to perform an action on the currently focused element

* test: Add tests

* chore: Add example of shortcut formats

* fix: Don't show toast if shortcut doesn't exist

* chore: Clarify use of Zelos in tests

* fix: Skip help hint toast until shortcut is added
2026-04-08 13:14:04 -07:00
Michael Harvey 5bc04b6435 chore: add example to JSDoc for getAriaValue (#9692) 2026-04-08 16:12:00 -04:00
Maribeth Moffatt 4163db8505 chore: merge main into v13
chore: merge main into v13
2026-04-08 12:12:43 -04:00
Michael Harvey b4d21b2f94 feat: aria utility additions / improvements (#9690) 2026-04-08 14:38:20 +00:00
Michael Harvey 9d5307cc37 feat: Add aria APIs to Field base class (#9683)
* feat: Add aria APIs to Field base class

* fix: no underscores in new code
2026-04-08 10:00:36 -04:00
Aaron Dodson cb0d1c96ce fix: Fix navigation between toolbox and flyout in all layouts (#9681)
* fix: Fix navigation between toolbox and flyout in all layouts

* test: Add tests
2026-04-07 14:11:38 -07:00
Aaron Dodson b665711646 chore: Remove the build size check from npm run test (#9689) 2026-04-07 14:04:07 -07:00
Maribeth Moffatt cdcdaf3286 chore: add ability to publish prereleases (#9687)
* chore: add ability to publish prereleases

* chore: error if release version is not valid
2026-04-07 16:59:00 -04:00
lizschwab 61583fff31 fix: add group when cutting workspace comments (#9680)
* fix: add group when cutting workspace comments

* Update shortcut_items.ts

* added check for group to the cut workspace comment unit test
2026-04-07 13:50:28 -07:00
Michael Harvey b49fe1ec7d feat: i shortcut on workspace gives overview (#9677)
* feat: i shortcut on workspace gives overview

* fix: code review changes
2026-04-06 16:54:11 -04:00
Michael Harvey 34c265fcf8 feat!: announce toasts via shared ARIA live region (#9672)
* feat: announce toasts via shared ARIA live region

* chore: add extra space
2026-04-03 09:06:11 -04:00
Aaron Dodson 3389f87cee feat: Add keyboard shortcuts to navigate between stacks (#9678)
* feat: Add keyboard shortcuts to navigate between stacks

* test: Add tests for stack jumping shortcuts

* chore: Clarify logic

* test: Add additional tests for no-op stack navigation
2026-04-02 12:26:52 -07:00
Aaron Dodson dc4d751b93 fix: Display focus rings on flyout buttons and labels (#9679) 2026-04-02 12:08:15 -07:00
Heliacer 0bdae1497b feat: Add a JSON Block definition interface (#9613) 2026-04-02 14:16:54 -04:00
Aaron Dodson 43be0edf5d fix!: Fix types on BlockSvg connections (#9669) 2026-04-02 11:01:29 -07:00
Maribeth Moffatt 0efc502ad5 chore: add copilot instructions for code reviews (#9676) 2026-04-02 11:44:25 -04:00
Aaron Dodson 15a4d5050e Merge pull request #9675 from RaspberryPiFoundation/merger
chore: Merge `main` into `v13`
2026-04-01 12:51:32 -07:00