Check for duplicates
Description
Currently, when the workspace takes focus for the first time, focus is moved to the first block in the workspace if it exists. As noted in our user testing feedback, we found that when the first block in the workspace was focused, the output was harder to parse than when the workspace itself was focused. When the block is focused, the user gets a lot of information: the workspace region change and the block output. They often missed that they were now inside the blocks workspace as a result.
In addition, the screen reader hint is only output when the workspace takes focus. It is not output when the first block is focused - and if it were, it would be even more information for the user to take in. In MakeCode, the first workspace focus almost always lands on a block since new projects start with the onStart and forever blocks.
If we focus the workspace itself on first focus, both of these issues are addressed. If we are aligned on this change, the code change is also trivial, just return null here.
Reproduction steps
Priority
No response
Stack trace
Screenshots
No response
Browsers
No response
Check for duplicates
Description
Currently, when the workspace takes focus for the first time, focus is moved to the first block in the workspace if it exists. As noted in our user testing feedback, we found that when the first block in the workspace was focused, the output was harder to parse than when the workspace itself was focused. When the block is focused, the user gets a lot of information: the workspace region change and the block output. They often missed that they were now inside the blocks workspace as a result.
In addition, the screen reader hint is only output when the workspace takes focus. It is not output when the first block is focused - and if it were, it would be even more information for the user to take in. In MakeCode, the first workspace focus almost always lands on a block since new projects start with the
onStartandforeverblocks.If we focus the workspace itself on first focus, both of these issues are addressed. If we are aligned on this change, the code change is also trivial, just return
nullhere.Reproduction steps
Priority
No response
Stack trace
Screenshots
No response
Browsers
No response