I have a menu that uses buttons and vanilla Javascript. When a button is clicked, it adds the class opened to the button and changes aria-expanded="false
opened
aria-expanded="false