Implement issue #2986 - set HTML5 required attribute on required input fields