Index: ui.slider.js =================================================================== --- ui.slider.js (revision 3093) +++ ui.slider.js (working copy) @@ -99,7 +99,7 @@ }); this.handles.each(function(i) { - $(this).data("index.ui-slider-handle", i); + $(this).data("index.ui-slider-handle", i).attr("aria-valuenow", o.values ? o.values[i] : o.value); }); this.handles.keydown(function(event) { @@ -170,6 +170,12 @@ }); + var ariaDefaults = {role: 'slider', + "aria-valuemin": this.options.min, + "aria-valuemax": this.options.max + }; + this.handles.attr(ariaDefaults); + this._refreshValue(); }, @@ -353,6 +359,7 @@ var otherVal = this.values(index ? 0 : 1); if (allowed !== false) { this.values(index, newVal, ( event.type == 'mousedown' && this.options.animate ), true); + $(handle).attr("aria-valuenow",newVal); } } @@ -366,6 +373,7 @@ }); if (allowed !== false) { this._setData('value', newVal, ( event.type == 'mousedown' && this.options.animate )); + $(handle).attr("aria-valuenow",newVal); } }