<!DOCTYPE html>
<select id="select" required></select>
<script>
select.reportValidity();
</script>
<input type="image">
<!DOCTYPE html>
<select id="select" required></select>
<script>
select.reportValidity();
</script>
<input type="image">