@syncfusion/ej2-inputs 35.1.42 → 35.1.43

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.
@@ -1660,12 +1660,18 @@ var NumericTextBox = /** @__PURE__ @class */ (function (_super) {
1660
1660
  'title': this.l10n.getConstant('decrementTitle'),
1661
1661
  'aria-label': this.l10n.getConstant('decrementTitle')
1662
1662
  });
1663
+ if (this.spinDown.getAttribute('aria-label')) {
1664
+ this.spinDown.setAttribute('role', 'button');
1665
+ }
1663
1666
  }
1664
1667
  if (!isNullOrUndefined(this.spinUp)) {
1665
1668
  attributes(this.spinUp, {
1666
1669
  'title': this.l10n.getConstant('incrementTitle'),
1667
1670
  'aria-label': this.l10n.getConstant('incrementTitle')
1668
1671
  });
1672
+ if (this.spinUp.getAttribute('aria-label')) {
1673
+ this.spinUp.setAttribute('role', 'button');
1674
+ }
1669
1675
  }
1670
1676
  };
1671
1677
  NumericTextBox.prototype.wireEvents = function () {