chromium/content/test/data/accessibility/event/form-required-changed.html

<!DOCTYPE html>
<!--
@MAC-ALLOW:AXRequired
@WIN-ALLOW:IA2_STATE_REQUIRED
@UIA-WIN-DENY:*
@UIA-WIN-ALLOW:IsRequiredForForm*
-->
<form>
  <input type="checkbox">
  <input type="radio" required>
</form>
<script>
  function go() {
    document.querySelector('input[type=checkbox]').required = true;
    document.querySelector('input[type=radio]').required = false;
    // Additional event needs to be fired here to prevent this test from
    // time out for windows. We should fix it.
    // http://crbug.com/719030
    document.querySelector('input[type=radio]').click();
  }
</script>