@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.
@@ -1632,12 +1632,18 @@ let NumericTextBox = class NumericTextBox extends Component {
1632
1632
  'title': this.l10n.getConstant('decrementTitle'),
1633
1633
  'aria-label': this.l10n.getConstant('decrementTitle')
1634
1634
  });
1635
+ if (this.spinDown.getAttribute('aria-label')) {
1636
+ this.spinDown.setAttribute('role', 'button');
1637
+ }
1635
1638
  }
1636
1639
  if (!isNullOrUndefined(this.spinUp)) {
1637
1640
  attributes(this.spinUp, {
1638
1641
  'title': this.l10n.getConstant('incrementTitle'),
1639
1642
  'aria-label': this.l10n.getConstant('incrementTitle')
1640
1643
  });
1644
+ if (this.spinUp.getAttribute('aria-label')) {
1645
+ this.spinUp.setAttribute('role', 'button');
1646
+ }
1641
1647
  }
1642
1648
  }
1643
1649
  wireEvents() {