From 4c341c98229afa28f52fda419a1e4d89c46c422a Mon Sep 17 00:00:00 2001 From: Silviu Popa Date: Mon, 14 Jan 2019 17:54:18 +0200 Subject: [PATCH 1/3] [ADF-3860] - change datatable to be recognized as a table --- .../components/datatable/datatable.component.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/core/datatable/components/datatable/datatable.component.html b/lib/core/datatable/components/datatable/datatable.component.html index fb2cfd4238..9751b9dee0 100644 --- a/lib/core/datatable/components/datatable/datatable.component.html +++ b/lib/core/datatable/components/datatable/datatable.component.html @@ -1,10 +1,11 @@
-
-
+
+
Actions @@ -21,7 +22,7 @@ [class.adf-data-table__header--sorted-desc]="isColumnSorted(col, 'desc')" (click)="onColumnHeaderClick(col)" (keyup.enter)="onColumnHeaderClick(col)" - role="button" + role="columnheader" tabindex="0" title="{{ col.title | translate }}"> {{ col.srTitle | translate }} @@ -45,11 +46,11 @@
-
+
-
+
\ No newline at end of file From df56ce179d62f8b14c1e7eee71b0b43663067267 Mon Sep 17 00:00:00 2001 From: Silviu Popa Date: Tue, 15 Jan 2019 18:16:57 +0200 Subject: [PATCH 2/3] [3860] - change role to grid and add unit test --- .../datatable/datatable.component.html | 11 +- .../datatable/datatable.component.spec.ts | 204 +++++++++++------- 2 files changed, 138 insertions(+), 77 deletions(-) diff --git a/lib/core/datatable/components/datatable/datatable.component.html b/lib/core/datatable/components/datatable/datatable.component.html index 9751b9dee0..61b17b3d65 100644 --- a/lib/core/datatable/components/datatable/datatable.component.html +++ b/lib/core/datatable/components/datatable/datatable.component.html @@ -1,5 +1,5 @@
-
+