Skip to content

Commit

Permalink
Remove aria-required attribute in buttons.
Browse files Browse the repository at this point in the history
This attribute causes accessibility test to fail as it is only valid for input tags.
  • Loading branch information
Carol Ozar committed Feb 17, 2016
1 parent ebf2a71 commit ed98638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slick/slick.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
centerPadding: '50px',
cssEase: 'ease',
customPaging: function(slider, i) {
return $('<button type="button" data-role="none" role="button" aria-required="false" tabindex="0" />').text(i + 1);
return $('<button type="button" data-role="none" role="button" tabindex="0" />').text(i + 1);
},
dots: false,
dotsClass: 'slick-dots',
Expand Down

0 comments on commit ed98638

Please sign in to comment.