Input fields have a required attribute that can be applied. It may also be a good idea to change the text from "Name *" to "Name (Required)", so that screen readers announce it in cases where they do not support required.