Skip to content

Commit 56f842c

Browse files
committed
Spinner: Move aria-attributes to the focusable element of the widget
1 parent 285c991 commit 56f842c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.spinner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ $.widget('ui.spinner', {
297297
},
298298

299299
_aria: function() {
300-
this.uiSpinner
300+
this.element
301301
.attr('aria-valuemin', this.options.min)
302302
.attr('aria-valuemax', this.options.max)
303303
.attr('aria-valuenow', this.options.value);

0 commit comments

Comments
 (0)