mirror of
https://github.com/google/blockly.git
synced 2026-01-08 01:20:12 +01:00
feat: Identify root stack blocks in ARIA label (#9501)
This commit is contained in:
@@ -282,6 +282,10 @@ export class BlockSvg
|
||||
prefix = `${parentInput.getFieldRowLabel()} `;
|
||||
}
|
||||
|
||||
if (this.getRootBlock() === this) {
|
||||
prefix = 'Begin stack, ' + prefix;
|
||||
}
|
||||
|
||||
let additionalInfo = blockTypeText;
|
||||
if (inputSummary) {
|
||||
additionalInfo = `${additionalInfo} with ${inputSummary}`;
|
||||
|
||||
Reference in New Issue
Block a user