<html>
  <head>
    <meta charset="utf-8" />
  </head>
  <body>
    <button
      onclick="this.setAttribute('aria-expanded', this.getAttribute('aria-expanded') == 'false')"
      aria-expanded="false"
    >
      button
    </button>
  </body>
</html>
