HTML5 validation check