1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
content / test / data / accessibility / event / aria-slider-value-both-change.html [blame]
<!--
@WIN-DENY:*
@WIN-ALLOW:EVENT_OBJECT_VALUECHANGE*
-->
<!DOCTYPE html>
<html>
<body>
<div id="slider" role="slider" aria-valuenow="1" aria-valuetext="1%"
aria-orientation="vertical">
</div>
<script>
function go() {
document.getElementById('slider').setAttribute('aria-valuenow', '2');
document.getElementById('slider').setAttribute('aria-valuetext', '2%');
}
</script>
</body>
</html>