Skip to content

Commit

Permalink
Update slider_slider-rating.js
Browse files Browse the repository at this point in the history
updated `aria-valuetext` values for zero stars
  • Loading branch information
jongund authored May 12, 2021
1 parent 6b0abed commit 82cf03c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tests/slider_slider-rating.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const ex = {
ratingMax: '5',
ratingMin: '0',
ratingDefault: '0',
ratingDefaultValue: 'none of the five stars',
ratingDefaultValue: 'zero of five stars',
ratingInc: 0.5,
ratingPageInc: 1,
};
Expand All @@ -34,7 +34,7 @@ const getRatingValueAndText = function (v, change) {

switch (value) {
case 0:
valuetext = 'no stars';
valuetext = 'zero stars';
break;

case 0.5:
Expand Down

0 comments on commit 82cf03c

Please sign in to comment.