mirror of
https://github.com/google/blockly.git
synced 2026-06-02 17:30:07 +02:00
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
This commit is contained in:
@@ -346,7 +346,7 @@ export function getInputLabelsSubset(block: BlockSvg, input: Input): string[] {
|
||||
.filter((input) => input.isVisible())
|
||||
.map(
|
||||
(input) =>
|
||||
input.getLabel(Verbosity.TERSE) ||
|
||||
input.getLabel(Verbosity.TERSE, false) ||
|
||||
Msg['INPUT_LABEL_INDEX'].replace(
|
||||
'%1',
|
||||
(input.getIndex() + 1).toString(),
|
||||
|
||||
@@ -2051,7 +2051,7 @@ export class BlockSvg
|
||||
block = block.getNextBlock();
|
||||
}
|
||||
if (count <= 1) {
|
||||
return computeAriaLabel(this, aria.Verbosity.TERSE);
|
||||
return computeAriaLabel(this, aria.Verbosity.TERSE, false);
|
||||
}
|
||||
|
||||
const labelTemplate = Msg['BLOCK_LABEL_STACK_BLOCKS'];
|
||||
|
||||
Reference in New Issue
Block a user