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

content / test / data / accessibility / aria / aria-describedby-updates.html [blame]

<!--
@WAIT-FOR:oranges
@BLINK-ALLOW:description=*
@WIN-ALLOW:description=*
@MAC-ALLOW:AXDescription
@MAC-ALLOW:accessibilityCustomContent
@MAC-ALLOW:AXHelp*
@BLINK-DENY:descriptionFrom*
-->
<!DOCTYPE html>
<html>
<body>
  <div role="main" aria-describedby="title">
    <p id="title" aria-hidden="true">apples</p>
  </div>
</div>

<script>
  setTimeout(() => {
    const label = document.getElementById('title');
    label.innerHTML = 'oranges';
  }, 100);
</script>
</body>
</html>