]> source.dussan.org Git - jquery-ui.git/commitdiff
Spinner: Move aria-attributes to the focusable element of the widget
authorjzaefferer <joern.zaefferer@gmail.com>
Tue, 30 Nov 2010 12:44:52 +0000 (13:44 +0100)
committerjzaefferer <joern.zaefferer@gmail.com>
Tue, 30 Nov 2010 12:44:52 +0000 (13:44 +0100)
ui/jquery.ui.spinner.js

index d9659d1674717a616d3ff69aa48e7d388111c934..7f32adbd80386f91dc2e9f565d91658194d18d4e 100644 (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);