1
2
3
4
5
6
7
8
9
10
11
content / test / data / accessibility / event / role-changed.html [blame]
<!DOCTYPE html>
<html>
<body>
<div id="a" role="group">Role will change</div>
<script>
function go() {
document.getElementById('a').setAttribute('role', 'button');
}
</script>
</body>
</html>