1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
content / test / data / accessibility / event / form-disabled-changed.html [blame]
<!DOCTYPE html>
<!--
@MAC-ALLOW:AXEnabled
@WIN-ALLOW:UNAVAILABLE
-->
<form>
<input type="checkbox">
<fieldset disabled>
<input type="radio" disabled>
</fieldset>
</form>
<script>
function go() {
document.querySelector('input[type=checkbox]').disabled = true;
document.querySelector('input[type=radio]').disabled = false;
document.querySelector('fieldset').disabled = false;
}
</script>