1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20

content / test / data / accessibility / event / add-dialog-described-by.html [blame]

<html>
  <head>
      <script>
          function go() {
            document.getElementById("described-by-dialog").removeAttribute("hidden");
          }
      </script>
  </head>
  <body>

    <div id="described-by-dialog" role="dialog" aria-describedby="dialog-describedby-label" hidden>
      <h2 id="dialog-describedby-label">Described by dialog title</h2>
      <p>Dialog content:</p>
      <div>
        <input type="text" id="described-by-dialog-focus-element">
      </div>
    </div>

  </body>
</html>