Spinner: Move aria-attributes to the focusable element of the widget

This commit is contained in:
jzaefferer 2010-11-30 13:44:52 +01:00
parent 285c991b72
commit 56f842cee0

View File

@ -297,7 +297,7 @@ $.widget('ui.spinner', {
},
_aria: function() {
this.uiSpinner
this.element
.attr('aria-valuemin', this.options.min)
.attr('aria-valuemax', this.options.max)
.attr('aria-valuenow', this.options.value);