mirror of
https://github.com/google/blockly.git
synced 2026-01-10 10:27:08 +01:00
Set active descendant correctly for toolbox tree. Change roles to 'tree' where appropriate.
This commit is contained in:
@@ -47,7 +47,7 @@ blocklyApp.WorkspaceComponent = ng.core
|
||||
|
||||
<div *ngIf="workspace">
|
||||
<ol #tree *ngFor="#block of workspace.topBlocks_; #i = index"
|
||||
tabIndex="0" role="group" class="blocklyTree blocklyWorkspaceTree"
|
||||
tabIndex="0" role="tree" class="blocklyTree blocklyWorkspaceTree"
|
||||
[attr.aria-activedescendant]="getActiveDescId(tree.id)"
|
||||
[attr.aria-labelledby]="workspaceTitle.id"
|
||||
(keydown)="onKeypress($event, tree)">
|
||||
|
||||
Reference in New Issue
Block a user