HTML5 validation tweaks