Skip to content

Commit e2b6ca0

Browse files
authored
Merge pull request #1 from getbento/PSE-8623_improve_carousel_accessibility
PSE-8645: Remove tablist and tabs at Audioeye's request
2 parents dbf63f9 + d20f96c commit e2b6ca0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

slick/slick.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,6 @@
489489
_.$slider.addClass('slick-dotted');
490490

491491
dot = $('<ul />')
492-
.attr('role', 'tablist')
493492
.addClass(_.options.dotsClass);
494493

495494
for (i = 0; i <= _.getDotCount(); i += 1) {
@@ -1346,7 +1345,6 @@
13461345
});
13471346

13481347
$(this).find('button').first().attr({
1349-
'role': 'tab',
13501348
'id': 'slick-slide-control' + _.instanceUid + i,
13511349
'aria-controls': 'slick-slide' + _.instanceUid + mappedSlideIndex,
13521350
'aria-label': (i + 1) + ' of ' + numDotGroups,

0 commit comments

Comments
 (0)