Skip to content

Commit

Permalink
add tablist to parent of role=tab buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
dvprz committed Mar 11, 2019
1 parent a82b5b4 commit dbf63f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion slick/slick.js
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,9 @@

_.$slider.addClass('slick-dotted');

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

for (i = 0; i <= _.getDotCount(); i += 1) {
dot.append($('<li />').append(_.options.customPaging.call(this, _, i)));
Expand Down

0 comments on commit dbf63f9

Please sign in to comment.