|
6 | 6 | [attr.aria-label]="'vocabulary-treeview.search.form.search-placeholder' | translate" |
7 | 7 | [placeholder]="'vocabulary-treeview.search.form.search-placeholder' | translate"> |
8 | 8 | <div class="input-group-append" id="button-addon4"> |
9 | | - <button class="btn btn-outline-primary" type="button" (click)="search()" [disabled]="!isSearchEnabled()"> |
| 9 | + <button class="btn btn-outline-primary" type="button" (click)="search()" [disabled]="!isSearchEnabled()" |
| 10 | + [attr.aria-label]="'vocabulary-treeview.search.form.search' | translate"> |
10 | 11 | {{'vocabulary-treeview.search.form.search' | translate}} |
11 | 12 | </button> |
12 | | - <button class="btn btn-outline-secondary" type="button" (click)="reset()"> |
| 13 | + <button class="btn btn-outline-secondary" type="button" (click)="reset()" |
| 14 | + [attr.aria-label]="'vocabulary-treeview.search.form.reset' | translate"> |
13 | 15 | {{'vocabulary-treeview.search.form.reset' | translate}} |
14 | 16 | </button> |
15 | | - <button *ngIf="showAdd && this.vocabularyOptions.closed" class="btn btn-outline-primary" type="button" (click)="add()"> |
| 17 | + <button *ngIf="showAdd && this.vocabularyOptions.closed" class="btn btn-outline-primary" type="button" (click)="add()" |
| 18 | + [attr.aria-label]="'vocabulary-treeview.search.form.add' | translate"> |
16 | 19 | {{'vocabulary-treeview.search.form.add' | translate}} |
17 | 20 | </button> |
18 | | - <button class="btn btn-outline-primary" type="button" (click)="add()" [disabled]="this.vocabularyOptions.closed"> |
| 21 | + <button class="btn btn-outline-primary" type="button" (click)="add()" [disabled]="this.vocabularyOptions.closed" |
| 22 | + [attr.aria-label]="'vocabulary-treeview.search.form.add' | translate"> |
19 | 23 | {{'vocabulary-treeview.search.form.add' | translate}} |
20 | 24 | </button> |
21 | 25 | </div> |
@@ -91,13 +95,15 @@ <h2 *ngIf="(loading | async) !== true && dataSource.data.length === 0" class="h4 |
91 | 95 | </cdk-tree-node> |
92 | 96 |
|
93 | 97 | <cdk-tree-node *cdkTreeNodeDef="let node; when: isLoadMore" cdkTreeNodePadding> |
94 | | - <button class="btn btn-outline-secondary btn-sm" (click)="loadMore(node.loadMoreParentItem)"> |
| 98 | + <button class="btn btn-outline-secondary btn-sm" (click)="loadMore(node.loadMoreParentItem)" |
| 99 | + [attr.aria-label]="'vocabulary-treeview.load-more' | translate"> |
95 | 100 | {{'vocabulary-treeview.load-more' | translate}}... |
96 | 101 | </button> |
97 | 102 | </cdk-tree-node> |
98 | 103 |
|
99 | 104 | <cdk-tree-node *cdkTreeNodeDef="let node; when: isLoadMoreRoot"> |
100 | | - <button class="btn btn-outline-secondary btn-sm" (click)="loadMoreRoot(node)"> |
| 105 | + <button class="btn btn-outline-secondary btn-sm" (click)="loadMoreRoot(node)" |
| 106 | + [attr.aria-label]="'vocabulary-treeview.load-more' | translate"> |
101 | 107 | {{'vocabulary-treeview.load-more' | translate}}... |
102 | 108 | </button> |
103 | 109 | </cdk-tree-node> |
|
0 commit comments