From: jzaefferer Date: Tue, 30 Nov 2010 12:44:52 +0000 (+0100) Subject: Spinner: Move aria-attributes to the focusable element of the widget X-Git-Tag: 1.9m4~88^2~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=56f842cee0af56b2674b1ee72772a6b7b8cdd5f3;p=jquery-ui.git Spinner: Move aria-attributes to the focusable element of the widget --- diff --git a/ui/jquery.ui.spinner.js b/ui/jquery.ui.spinner.js index d9659d167..7f32adbd8 100644 --- a/ui/jquery.ui.spinner.js +++ b/ui/jquery.ui.spinner.js @@ -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);