I've created a small JSF extension called TNT faces that dynamicaly adds HTML5 validation into your components. It works without modifying your old code, just add into your pom.xml and that's it! For more information go to https://github.com/LukasRychtecky/tnt