aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets/slider.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/widgets/slider.js')
-rw-r--r--ui/widgets/slider.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/widgets/slider.js b/ui/widgets/slider.js
index 4c1bdc05e..8b0f907f5 100644
--- a/ui/widgets/slider.js
+++ b/ui/widgets/slider.js
@@ -117,7 +117,9 @@ return $.widget( "ui.slider", $.ui.mouse, {
this.handle = this.handles.eq( 0 );
this.handles.each( function( i ) {
- $( this ).data( "ui-slider-handle-index", i );
+ $( this )
+ .data( "ui-slider-handle-index", i )
+ .attr( "tabIndex", 0 );
} );
},