-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
carryoverissue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong
Description
Check for duplicates
- I have searched for similar issues before opening a new one.
Description
After inserting a statement block, the screen reader output for the total number of blocks in the stack is incorrect by +1 (i.e., it says 3 of 4 when there are only 3 statement blocks). This is observable when re-selecting the newly inserted block . The new block can be inserted anywhere in the stack. Note that the block position and count of the surrounding statement blocks is correct.
The incorrect values are fixed / updated when a different block change is made elsewhere.
We thought this might be fixed when #9295 was addressed, but it appears to be a separate issue.
Reproduction steps
- Use https://google.github.io/blockly-keyboard-experimentation/screenreader/
- With a screen reader switched on, insert a block into one of the existing c-shaped blocks
- Select the newly inserted block and observe that the total block count is incorrect by +1
Stack trace
Screenshots
Screen.Recording.2025-09-24.at.11.04.09.mov
The inserted draw heart block is announced as "2 of 3".
Browsers
No response
Metadata
Metadata
Assignees
Labels
carryoverissue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong
Type
Projects
Status
Done