File tree 2 files changed +2
-7
lines changed 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ QUnit.test( "mouse", function( assert ) {
401
401
} ) ;
402
402
403
403
QUnit . test ( "ARIA" , function ( assert ) {
404
- assert . expect ( 12 ) ;
404
+ assert . expect ( 11 ) ;
405
405
406
406
var id = this . element . attr ( "id" ) ,
407
407
headerId = id + "-title" ,
@@ -431,8 +431,6 @@ QUnit.test( "ARIA", function( assert ) {
431
431
432
432
assert . equal ( table . children ( "tbody" ) . attr ( "role" ) , "presentation" ,
433
433
"Table body role attribute" ) ;
434
- assert . equal ( table . find ( "tbody td" ) . first ( ) . attr ( "aria-describedby" ) ,
435
- monthLabelId , "Table body cell ARIA describedby attribute" ) ;
436
434
} ) ;
437
435
438
436
} ) ;
Original file line number Diff line number Diff line change @@ -461,11 +461,8 @@ return $.widget( "ui.calendar", {
461
461
_buildDayCell : function ( day ) {
462
462
var content = "" ,
463
463
dateObject = new Date ( day . timestamp ) ,
464
- dayName = this . _calendarDateOptions . formatWeekdayFull ( dateObject ) ,
465
464
attributes = [
466
- "aria-selected='" + ( this . _isCurrent ( day ) ? true : false ) + "'" ,
467
- "aria-label='" + dayName + ", " + this . _format ( dateObject ) + "'" ,
468
- "aria-describedby='" + this . _getGridId ( ) + "-month-label'"
465
+ "aria-selected='" + ( this . _isCurrent ( day ) ? true : false ) + "'"
469
466
] ,
470
467
selectable = ( day . selectable && this . _isValid ( dateObject ) ) ;
471
468
You can’t perform that action at this time.
0 commit comments