Posted 19 December 2023, 2:24 am EST - Updated 19 December 2023, 2:29 am EST
Dear Team,
We are using Angular 12 and Wijmo Flex Grid. In a few of the cell, we have input type=“text” added via wjFlexGridCellTemplate in HTML. Now our requirement is when the user update the value in any of the text box and hits the tab(focusout) it will call an API to update.
<ng-template wjFlexGridCellTemplate [cellType]="'Cell'" let-row="row" let-cell="cell" let-item="item">
<label for="value-{{ row.index }}" class="sr-only">AmLaw segment</label>
<input
type="text"
name="value-{{ row.index }}"
id="value-{{ row.index }}"
bfmField
bfmLabel="value"
[disabled]="item.dataProcessing.value"
[(ngModel)]="item.value"
(focusout)="save(item, item.value, 'value',$event)"
/>
</ng-template>
But now we have got accessibility bug saying that when we tab the focus is on the text box but the cell is not highlighted the focus you can see is on the previous cell only(attached is the screen shot)
How to get focus on the cell when the focus is on the input text box?
Regards,
Sumita Sharma