@syncfusion/ej2-navigations 20.1.57 → 20.1.58

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.
@@ -7297,7 +7297,7 @@ let Tab = class Tab extends Component {
7297
7297
  this.tbObj = null;
7298
7298
  }
7299
7299
  this.unWireEvents();
7300
- ['role', 'aria-disabled', 'aria-activedescendant', 'tabindex', 'aria-orientation'].forEach((val) => {
7300
+ ['role', 'aria-disabled', 'aria-activedescendant', 'tabindex', 'aria-orientation', 'aria-owns'].forEach((val) => {
7301
7301
  this.element.removeAttribute(val);
7302
7302
  });
7303
7303
  this.expTemplateContent();
@@ -7378,7 +7378,7 @@ let Tab = class Tab extends Component {
7378
7378
  const css = (name === 'msie') ? 'e-ie' : (name === 'edge') ? 'e-edge' : (name === 'safari') ? 'e-safari' : '';
7379
7379
  setStyleAttribute(this.element, { 'width': formatUnit(this.width), 'height': formatUnit(this.height) });
7380
7380
  this.setCssClass(this.element, this.cssClass, true);
7381
- attributes(this.element, { role: 'tablist', 'aria-disabled': 'false', 'aria-activedescendant': '' });
7381
+ attributes(this.element, { role: 'tablist', 'aria-disabled': 'false', 'aria-activedescendant': '', 'aria-owns': this.element.id + '_' + 'tab_header_items' });
7382
7382
  this.setCssClass(this.element, css, true);
7383
7383
  this.updatePopAnimationConfig();
7384
7384
  }
@@ -7562,6 +7562,10 @@ let Tab = class Tab extends Component {
7562
7562
  attributes(this.hdrEle, { 'aria-label': 'tab-header' });
7563
7563
  this.updateOrientationAttribute();
7564
7564
  this.setCloseButton(this.showCloseButton);
7565
+ const toolbarHeader = this.tbObj.element.querySelector('.' + CLS_TB_ITEMS);
7566
+ if (!isNullOrUndefined(toolbarHeader)) {
7567
+ toolbarHeader.id = this.element.id + '_' + 'tab_header_items';
7568
+ }
7565
7569
  }
7566
7570
  renderContent() {
7567
7571
  this.cntEle = select('.' + CLS_CONTENT$1, this.element);