1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
content / test / data / accessibility / aria / aria-describedby-reference-target.html [blame]
<!--
@BLINK-ALLOW:descri*
-->
<!DOCTYPE html>
<html>
<body>
<input type="text" id="username" aria-describedby="username-tip" />
<x-description id="username-tip">
<template shadowrootmode="open" shadowrootreferencetarget="target">
<div role="tooltip" id="target">Your username should be your email id</div>
</template>
</x-description>
<x-description id="date-desc" style="display:none">
<template shadowrootmode="open" shadowrootreferencetarget="target">
<div id="target" aria-label="mmddyy"></div>
</template>
</x-description>
<input type="text" aria-describedby="date-desc" />
</body>
</html>