<!DOCTYPE html>
<html>
  <body>
    <form>
      <input value='foo' required>
      <input type='image'>
    </form>
  </body>
</html>