this was originally on element.checkValidity() in the tests