@syncfusion/ej2-dropdowns 20.2.44 → 20.2.45

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.
@@ -3447,14 +3447,14 @@ let DropDownList = class DropDownList extends DropDownBase {
3447
3447
  if (this.element.tagName === 'INPUT') {
3448
3448
  this.inputElement = this.element;
3449
3449
  if (isNullOrUndefined(this.inputElement.getAttribute('role'))) {
3450
- this.inputElement.setAttribute('role', 'textbox');
3450
+ this.inputElement.setAttribute('role', 'combobox');
3451
3451
  }
3452
3452
  if (isNullOrUndefined(this.inputElement.getAttribute('type'))) {
3453
3453
  this.inputElement.setAttribute('type', 'text');
3454
3454
  }
3455
3455
  }
3456
3456
  else {
3457
- this.inputElement = this.createElement('input', { attrs: { role: 'textbox', type: 'text' } });
3457
+ this.inputElement = this.createElement('input', { attrs: { role: 'combobox', type: 'text' } });
3458
3458
  if (this.element.tagName !== this.getNgDirective()) {
3459
3459
  this.element.style.display = 'none';
3460
3460
  }
@@ -3503,6 +3503,9 @@ let DropDownList = class DropDownList extends DropDownBase {
3503
3503
  attributes(this.targetElement(), this.getAriaAttributes());
3504
3504
  this.updateDataAttribute(this.htmlAttributes);
3505
3505
  this.setHTMLAttributes();
3506
+ if (this.targetElement() === this.inputElement) {
3507
+ this.element.removeAttribute('aria-labelledby');
3508
+ }
3506
3509
  if (this.value !== null || this.activeIndex !== null || this.text !== null) {
3507
3510
  this.initValue();
3508
3511
  }
@@ -12457,7 +12460,6 @@ let MultiSelect = class MultiSelect extends DropDownBase {
12457
12460
  });
12458
12461
  if (this.mode === 'Default' || this.mode === 'Box') {
12459
12462
  this.inputElement.setAttribute('aria-describedby', this.chipCollectionWrapper.id);
12460
- this.inputElement.setAttribute('aria-labelledby', this.chipCollectionWrapper.id);
12461
12463
  }
12462
12464
  if (this.element.tagName !== this.getNgDirective()) {
12463
12465
  this.element.style.display = 'none';