<!--
@MAC-ALLOW:AXRoleDescription=*
@WIN-ALLOW:HASPOPUP
@WIN-ALLOW:haspopup*
@WIN-ALLOW:ia2_hypertext=*
@WIN-ALLOW:MULTISELECTABLE
@WIN-ALLOW:EXTSELECTABLE
@WIN-ALLOW:SELECT*
@BLINK-ALLOW:focus*
@BLINK-ALLOW:setSize*
@BLINK-ALLOW:posInSet*
@BLINK-ALLOW:haspopup*
@AURALINUX-ALLOW:haspopup*
@AURALINUX-ALLOW:posinset*
@AURALINUX-ALLOW:setsize*
@AURALINUX-ALLOW:expand*
@AURALINUX-ALLOW:required
-->
<html>
<body>
<selectlist id="B" name="Select B">
<button type="selectlist">Custom selectlist button</button>
<listbox>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</listbox>
</selectlist>
<script>
let selectlistButton = document.querySelector("button");
selectlistButton.click();
</script>
</body>
</html>