feat: Identify root stack blocks in ARIA label (#9501)

This commit is contained in:
Aaron Dodson
2025-12-03 09:57:59 -08:00
committed by GitHub
parent b2a266a22b
commit 0f7cddede3

View File

@@ -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}`;