Skip to content

Commit

Permalink
Working on Issue #143
Browse files Browse the repository at this point in the history
  • Loading branch information
smcintosh881 committed Aug 6, 2015
1 parent b310663 commit dcfa316
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/SlickGrid/slick.grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -1454,6 +1454,7 @@ if (typeof Slick === "undefined") {
var m = columns[cell];
var cellCss = "slick-cell l" + cell + " r" + Math.min(columns.length - 1, cell + colspan - 1) +
(m.cssClass ? " " + m.cssClass : "");
var aLabel= "Row " + row + " Column " + Math.min(columns.length - 1, cell + colspan - 1);
if (row === activeRow && cell === activeCell) {
cellCss += (" active");
}
Expand All @@ -1464,8 +1465,7 @@ if (typeof Slick === "undefined") {
cellCss += (" " + cellCssClasses[key][row][m.id]);
}
}

stringArray.push("<div class='" + cellCss + "'>");
stringArray.push("<div aria-label='" + aLabel + "' " + "class='" + cellCss + "'>");

// if there is a corresponding row (if not, this is the Add New row or this data hasn't been loaded yet)
if (item) {
Expand Down

0 comments on commit dcfa316

Please sign in to comment.