dap-design-system 0.35.16 → 0.35.17

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.
package/dist/dds.js CHANGED
@@ -11920,16 +11920,16 @@ const bd = class bd extends z {
11920
11920
  this.emit("dds-opened"), this.focusableElements = this.getFocusableElements(), this.focusableElements.length > 0 && this.focusableElements[0].focus();
11921
11921
  },
11922
11922
  { once: !0 }
11923
- )) : (this.emit("dds-before-close"), this.dialog.close(), this.scrollLock(!1), this.dialog.addEventListener(
11923
+ ), this.setAttribute("aria-hidden", "false")) : (this.emit("dds-before-close"), this.dialog.close(), this.scrollLock(!1), this.dialog.addEventListener(
11924
11924
  "transitionend",
11925
11925
  () => {
11926
11926
  this.emit("dds-closed"), this.previouslyFocusedElement instanceof HTMLElement && this.previouslyFocusedElement.focus();
11927
11927
  },
11928
11928
  { once: !0 }
11929
- )));
11929
+ ), this.setAttribute("aria-hidden", "true")));
11930
11930
  }
11931
11931
  firstUpdated(t) {
11932
- super.firstUpdated(t), this.open && this.dialog.showModal();
11932
+ super.firstUpdated(t), this.open ? (this.setAttribute("aria-hidden", "false"), this.dialog.showModal()) : this.setAttribute("aria-hidden", "treu");
11933
11933
  }
11934
11934
  show() {
11935
11935
  this.open = !0;