File tree 4 files changed +9
-6
lines changed
4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
- <table border =" 0" cellspacing =" 0" cellpadding =" 0" @keydown =" {{ _onkeydown }} " >
1
+ <table border =" 0" cellspacing =" 0" cellpadding =" 0" @keydown =" {{ _onkeydown }} " role = " table " >
2
2
3
3
<thead >
4
- <tr id =" {{ _id }} -columnHeader" class =" ui5-table-header-row" tabindex =" 0" style =" height: 48px" @click =" {{ _onColumnHeaderClick }} " >
4
+ <tr id =" {{ _id }} -columnHeader" role = " row " class =" ui5-table-header-row" tabindex =" 0" style =" height: 48px" @click =" {{ _onColumnHeaderClick }} " >
5
5
{{ #each visibleColumns }}
6
6
<slot name =" {{ this._individualSlot }} " ></slot >
7
7
{{ /each }}
15
15
16
16
{{ #unless rows.length }}
17
17
{{ #if showNoData }}
18
- <tr class =" ui5-table-no-data-row-root" >
19
- <td colspan =" {{ visibleColumnsCount }} " >
18
+ <tr class =" ui5-table-no-data-row-root" role = " row " >
19
+ <td colspan =" {{ visibleColumnsCount }} " role = " cell " >
20
20
21
21
<div class =" ui5-table-no-data-row" >
22
22
<span >{{ noDataText }} </span >
Original file line number Diff line number Diff line change 1
1
<td
2
2
tabindex =" -1"
3
3
part =" cell"
4
+ role =" cell"
4
5
>
5
6
<slot ></slot >
6
7
</td >
Original file line number Diff line number Diff line change 1
1
<th
2
2
scope =" col"
3
3
part =" column"
4
+ role =" columnheader"
4
5
>
5
6
<slot ></slot >
6
7
</th >
Original file line number Diff line number Diff line change 6
6
aria-label =" {{ ariaLabelText }} "
7
7
data-sap-focus-ref
8
8
part =" row"
9
+ role =" row"
9
10
>
10
11
{{ #if shouldPopin }}
11
12
{{ #each visibleCells }}
20
21
21
22
{{ #if shouldPopin }}
22
23
{{ #each popinCells }}
23
- <tr part =" popin-row" class =" {{ this.classes }} " @click =" {{ ../_onrowclick }} " >
24
- <td colspan =" {{ ../visibleCellsCount }} " >
24
+ <tr part =" popin-row" role = " row " class =" {{ this.classes }} " @click =" {{ ../_onrowclick }} " >
25
+ <td colspan =" {{ ../visibleCellsCount }} " role = " cell " >
25
26
{{ #if this.popinText }}
26
27
<span class =" ui5-table-row-popin-title" >{{ this.popinText }} :</span >
27
28
{{ /if }}
You can’t perform that action at this time.
0 commit comments