diff --git a/projects/ngx-datatable/src/lib/components/body/body-row.component.ts b/projects/ngx-datatable/src/lib/components/body/body-row.component.ts index c355ee1eb..58cc7f826 100644 --- a/projects/ngx-datatable/src/lib/components/body/body-row.component.ts +++ b/projects/ngx-datatable/src/lib/components/body/body-row.component.ts @@ -59,6 +59,8 @@ import { DataTableBodyCellComponent } from './body-cell.component'; styleUrl: './body-row.component.scss', changeDetection: ChangeDetectionStrategy.OnPush, host: { + role: 'row', + tabindex: '-1', '[class]': 'cssClass()', '[class.active]': 'isSelected()', '[class.datatable-row-odd]': 'innerRowIndex() % 2 !== 0', diff --git a/projects/ngx-datatable/src/lib/components/body/body.component.ts b/projects/ngx-datatable/src/lib/components/body/body.component.ts index 6afbb17ac..e5d24494c 100644 --- a/projects/ngx-datatable/src/lib/components/body/body.component.ts +++ b/projects/ngx-datatable/src/lib/components/body/body.component.ts @@ -131,8 +131,6 @@ import { DataTableSummaryRowComponent } from './summary/summary-row.component'; > @if (summaryRow() && summaryPosition() === 'bottom') { { @let _internalColumns = this._internalColumns(); @if (summaryRow && _internalColumns.length) {