update docs to reflect #5786

Since #5786, the `required` attribute is no longer necessary to get HTML5 error styling on a field; erroneous optional fields also get styled appropriately.