@syncfusion/ej2-navigations 29.1.34 → 29.1.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5297,6 +5297,7 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
5297
5297
  * @returns {void}.
5298
5298
  */
5299
5299
  Toolbar.prototype.enableItems = function (items, isEnable) {
5300
+ var _this = this;
5300
5301
  var elements = items;
5301
5302
  var len = elements.length;
5302
5303
  var ele;
@@ -5308,12 +5309,15 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
5308
5309
  ele.classList.remove(CLS_DISABLE$2);
5309
5310
  if (!isNullOrUndefined(ele.firstElementChild)) {
5310
5311
  ele.firstElementChild.setAttribute('aria-disabled', 'false');
5312
+ _this.updateTabIndex('0');
5311
5313
  }
5312
5314
  }
5313
5315
  else {
5314
5316
  ele.classList.add(CLS_DISABLE$2);
5315
5317
  if (!isNullOrUndefined(ele.firstElementChild)) {
5316
5318
  ele.firstElementChild.setAttribute('aria-disabled', 'true');
5319
+ ele.firstElementChild.setAttribute('tabindex', '-1');
5320
+ _this.updateTabIndex('0');
5317
5321
  }
5318
5322
  }
5319
5323
  };