Permalink
Browse files

Add scope="row" for period labels.

  • Loading branch information...
1 parent 272894d commit 980e8c3fe347a93545f433f6dd414120277cae19 @jrchamp jrchamp committed Jul 15, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 jquery.ui.timepicker.js
@@ -481,11 +481,11 @@
html += '<tr>';
// AM
if (row == amFirstRow && showPeriodLabels) {
- html += '<th rowspan="' + amRows.toString() + '" class="periods">' + amPmText[0] + '</th>';
+ html += '<th rowspan="' + amRows.toString() + '" class="periods" scope="row">' + amPmText[0] + '</th>';
}
// PM
if (row == pmFirstRow && showPeriodLabels) {
- html += '<th rowspan="' + pmRows.toString() + '" class="periods">' + amPmText[1] + '</th>';
+ html += '<th rowspan="' + pmRows.toString() + '" class="periods" scope="row">' + amPmText[1] + '</th>';
}
for (col = 1; col <= hoursPerRow; col++) {
if (showPeriodLabels && row < pmFirstRow && hours[hourCounter] >= 12) {

0 comments on commit 980e8c3

Please sign in to comment.