@@ -58,12 +58,7 @@ sap.ui.define(
58
58
}
59
59
} ;
60
60
61
- MyColumnListItemRenderer . makeFocusable = function ( rm ) {
62
- if ( Device . system . desktop ) {
63
- rm . attr ( "tabindex" , "-1" ) ;
64
- rm . class ( "sapMTblCellFocusable" ) ;
65
- }
66
- } ;
61
+ MyColumnListItemRenderer . makeFocusable = function ( rm ) { } ;
67
62
68
63
MyColumnListItemRenderer . openStartGridCell = function (
69
64
rm ,
@@ -72,10 +67,17 @@ sap.ui.define(
72
67
sId ,
73
68
sClass
74
69
) {
70
+ const benchmarkClass = {
71
+ 1 : "col-md-1" ,
72
+ 2 : "col-md-4" ,
73
+ 3 : "col-md-1" ,
74
+ 4 : "col-md-6" ,
75
+ } ;
76
+ const aria = oLI . aAriaOwns . push ( sId ) ;
75
77
rm . openStart ( sTag , sId ) ;
76
- rm . class ( sClass ) ;
78
+ rm . class ( benchmarkClass [ aria ] ) ;
77
79
rm . attr ( "role" , "gridcell" ) ;
78
- rm . attr ( "aria-colindex" , oLI . aAriaOwns . push ( sId ) ) ;
80
+ rm . attr ( "aria-colindex" , aria ) ;
79
81
this . makeFocusable ( rm ) ;
80
82
if ( oLI . isSelectable ( ) ) {
81
83
rm . attr ( "aria-selected" , oLI . getSelected ( ) ) ;
@@ -190,7 +192,7 @@ sap.ui.define(
190
192
vAlign = oColumn . getVAlign ( ) ,
191
193
bRenderCell = true ;
192
194
193
- this . openStartGridCell ( rm , oLI , "td" , sCellId , "sapMListTblCell " ) ;
195
+ this . openStartGridCell ( rm , oLI , "td" , sCellId , "" ) ;
194
196
rm . attr ( "data-sap-ui-column" , oColumn . getId ( ) ) ;
195
197
rm . style ( "text-align" , oColumn . getCssAlign ( ) ) ;
196
198
aStyleClass . forEach ( function ( sClassName ) {
0 commit comments