<script> function go(){ setup() } document.addEventListener("DOMContentLoaded", () => { document.querySelector('div').setAttribute('aria-owns','option1') }); </script> <div></div> <select> <option id="option1">