Because you can’t be sure that all browsers recognize the HTML5 required attribute, it’s a good idea to check that required fields aren’t blank before submitting the form.
If any fields are missing, you can dynamically add a warning message to the form, highlight the affected fields, and prevent the form from being submitted.