mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
Minor wording edits. Fix issue with Voiceover not detecting changes to block labels.
This commit is contained in:
@@ -29,7 +29,7 @@ blocklyApp.WorkspaceTreeComponent = ng.core
|
||||
selector: 'blockly-workspace-tree',
|
||||
template: `
|
||||
<li [id]="idMap['blockRoot']" role="treeitem" class="blocklyHasChildren"
|
||||
[attr.aria-labelledBy]="generateAriaLabelledByAttr(idMap['blockSummary'], 'blockly-workspace-block')"
|
||||
[attr.aria-label]="getBlockDescription() + ' ' + ('WORKSPACE_BLOCK'|translate) + ' ' + ('SUBMENU_INDICATOR'|translate)"
|
||||
[attr.aria-level]="level">
|
||||
<label [id]="idMap['blockSummary']">{{getBlockDescription()}}</label>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user