1
2
3
4
5
6
7
8
9
10
11
content / test / data / accessibility / event / tabindex-removed-on-plain-div.html [blame]
<!DOCTYPE html>
<html>
<body>
<div id="d" tabindex="-1"></div>
<script>
function go() {
document.querySelector('#d').removeAttribute('tabindex');
}
</script>
</body>
</html>