    console.warn(
              "select-element (popover) should have an ID for popovertarget to work reliably from Elm."
            );
          }
          if (!this.getAttribute("aria-labelledby") && this.trigger.id) {
            this.setAttribute("aria-labelledby", this.trigger.id);
          }

          this.trigger.addEventListener("keydown", (e) => {
            if (e.key === "ArrowUp" || e.key === "ArrowDown") {
              e.preventDefault();
              e.stopPropagation();
              if