Skip to content

Commit 0f7cdde

Browse files
authored
feat: Identify root stack blocks in ARIA label (#9501)
1 parent b2a266a commit 0f7cdde

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

core/block_svg.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,10 @@ export class BlockSvg
282282
prefix = `${parentInput.getFieldRowLabel()} `;
283283
}
284284

285+
if (this.getRootBlock() === this) {
286+
prefix = 'Begin stack, ' + prefix;
287+
}
288+
285289
let additionalInfo = blockTypeText;
286290
if (inputSummary) {
287291
additionalInfo = `${additionalInfo} with ${inputSummary}`;

0 commit comments

Comments
 (0)