Skip to content

Commit 203b2f3

Browse files
cRui861skapur12
andauthored
April a11y Bug Fixes (#2523)
* Fix AB#502: The Name property of a focusable element must not be null * Fix AB#509: Focusable sibling elements must not have the same Name and LocalizedControlType Co-authored-by: Sanjana Kapur <sanjanakapur@microsoft.com>
1 parent 7e6cf75 commit 203b2f3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/@batch-flask/ui/file/file-explorer/file-tree-view/file-tree-view.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<bl-toolbar class="tree-view-header">
2-
<bl-clickable toolbarAction class="caret" (do)="toggleExpandTreeView()" [attr.aria-expanded]="expanded" attr.aria-owns="{{id}}-content" attr.aria-labelledby="{{id}}_name">
2+
<bl-clickable toolbarAction class="caret" (do)="toggleExpandTreeView()" [attr.aria-expanded]="expanded" attr.aria-owns="{{id}}-content" aria-label="Toggle tree view">
33
<i class="fa" [class.fa-caret-down]="expanded" [class.fa-caret-right]="!expanded"></i>
44
</bl-clickable>
55
<bl-clickable toolbarLabel id="{{id}}_name" class="name" (do)="handleClickTreeViewHeader()">{{name}}</bl-clickable>

src/@batch-flask/ui/form/editable-table/editable-table.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
[rowValue]="item.value"></bl-editable-table-select-cell>
1919
</ng-container>
2020
<ng-container *ngSwitchDefault>
21-
<input [formControl]="item.controls[column.name]" [attr.type]="column.type">
21+
<input [formControl]="item.controls[column.name]" [attr.type]="column.type" [attr.aria-placeholder]="column.name">
2222
</ng-container>
2323
</ng-container>
2424
</td>

0 commit comments

Comments
 (0)