<!DOCTYPE html> <html> <body> <form> <input value='bar' required> <input value='foo' readonly required> </form> </body> </html>