|
@@ -29,6 +29,7 @@ define([
|
|
|
|
|
|
$selection.attr('title', this.$element.attr('title'));
|
|
$selection.attr('title', this.$element.attr('title'));
|
|
$selection.attr('tabindex', this._tabindex);
|
|
$selection.attr('tabindex', this._tabindex);
|
|
|
|
+ $selection.attr('aria-disabled', 'false');
|
|
|
|
|
|
this.$selection = $selection;
|
|
this.$selection = $selection;
|
|
|
|
|
|
@@ -88,10 +89,12 @@ define([
|
|
|
|
|
|
container.on('enable', function () {
|
|
container.on('enable', function () {
|
|
self.$selection.attr('tabindex', self._tabindex);
|
|
self.$selection.attr('tabindex', self._tabindex);
|
|
|
|
+ self.$selection.attr('aria-disabled', 'false');
|
|
});
|
|
});
|
|
|
|
|
|
container.on('disable', function () {
|
|
container.on('disable', function () {
|
|
self.$selection.attr('tabindex', '-1');
|
|
self.$selection.attr('tabindex', '-1');
|
|
|
|
+ self.$selection.attr('aria-disabled', 'true');
|
|
});
|
|
});
|
|
};
|
|
};
|
|
|
|
|