Skip to content

Commit 0ed2098

Browse files
committed
Generic- No records available doesn't read in accessibility as focus don't go there through tabbing feature/RMA-92206
1 parent f1ff68c commit 0ed2098

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/dxc-ngx-cdk/src/lib/dxc-crud-table/dxc-crud-table.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="w-100 clearfix" tabindex="0" attr.aria-label="{{globalResource.gridContent?.description}}" (focusin)="gridFocus(true)" (focusout)="gridFocus(false)">
1+
<div class="w-100 clearfix" tabindex="0" attr.aria-label="{{globalResource.gridContent?.description}}" [attr.aria-describedby]="noRecord" (focusin)="gridFocus(true)" (focusout)="gridFocus(false)">
22
<dxc-toolbar [toolBarList]="gridToolbar" [allowAccessKey]="enableAccessKey" class="d-inline-block w-100" searchAccessKey="f"
33
(onClick)="crudToolbarClick($event)" [allowSearch]='allowSearch' (searchClick)="gridSearch($event)">
44
</dxc-toolbar>
@@ -163,6 +163,6 @@ <h6 class="modal-title ml-2">
163163
</form>
164164
</dxc-dialog>
165165

166-
<div *ngIf="loaded == true && (dataSource?.data == null || (dataSource?.data != null && dataSource.data.length <= 0))">
166+
<div id="noRecord" *ngIf="loaded == true && (dataSource?.data == null || (dataSource?.data != null && dataSource.data.length <= 0))">
167167
<h6 class="no-record p-2 text-center">{{noRecord}}</h6>
168168
</div>

0 commit comments

Comments
 (0)