We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff6ca2e commit f35f4d8Copy full SHA for f35f4d8
core/block_svg.ts
@@ -274,6 +274,9 @@ export class BlockSvg
274
if (this.isCollapsed()) {
275
labelComponents.push('collapsed');
276
}
277
+ if (this.isShadow()) {
278
+ labelComponents.push('replaceable');
279
+ }
280
281
if (inputCount > 1) {
282
labelComponents.push('has inputs');
@@ -307,9 +310,7 @@ export class BlockSvg
307
310
* @returns The ARIA roledescription for this block.
308
311
*/
309
312
protected getAriaRoleDescription() {
- if (this.isShadow()) {
- return 'replaceable block';
- } else if (this.outputConnection) {
313
+ if (this.outputConnection) {
314
return 'value block';
315
} else if (this.statementInputCount) {
316
return 'container block';
0 commit comments