Skip to content

Commit 7643c31

Browse files
authored
Merge pull request #53 from ameshkin/be-more-polite
Change assertive to polite, no need for option.
2 parents c9348de + 185744d commit 7643c31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

textcounter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
var counterText = base.options.countDown ? base.options.countDownText : base.options.counterText,
2626
counterNum = base.options.countDown ? base.options.max : 0,
2727
$formatted_counter_text = $('<div/>').addClass(base.options.textCountMessageClass)
28-
.attr('aria-live', 'assertive').attr('aria-atomic', 'true')
28+
.attr('aria-live', 'polite').attr('aria-atomic', 'true')
2929
.html(counterText.replace('%d', '<span class="' + base.options.textCountClass + '">' + counterNum + '</span>')),
3030
$count_overflow_text = $('<div/>').addClass(base.options.countOverflowContainerClass);
3131

0 commit comments

Comments
 (0)