Skip to content

Commit e2cf797

Browse files
authored
fix: Do not use custom input labels for connection positions and move start (#9932)
* fix: Do not use custom input labels on move start announcements * fix: do not use custom input labels on input labels subset
1 parent 40a5841 commit e2cf797

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/blockly/core/block_aria_composer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ export function getInputLabelsSubset(block: BlockSvg, input: Input): string[] {
346346
.filter((input) => input.isVisible())
347347
.map(
348348
(input) =>
349-
input.getLabel(Verbosity.TERSE) ||
349+
input.getLabel(Verbosity.TERSE, false) ||
350350
Msg['INPUT_LABEL_INDEX'].replace(
351351
'%1',
352352
(input.getIndex() + 1).toString(),

packages/blockly/core/block_svg.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2051,7 +2051,7 @@ export class BlockSvg
20512051
block = block.getNextBlock();
20522052
}
20532053
if (count <= 1) {
2054-
return computeAriaLabel(this, aria.Verbosity.TERSE);
2054+
return computeAriaLabel(this, aria.Verbosity.TERSE, false);
20552055
}
20562056

20572057
const labelTemplate = Msg['BLOCK_LABEL_STACK_BLOCKS'];

0 commit comments

Comments
 (0)