Enable for HTML5 input types (contribution by Sebastian Lisken).