HTML Checking for Large Sites
Rocket Validator automatically checks your pages on the W3C Validator.
Attribute “validate” not allowed on element “form” at this point.
There is no attribute validate
on the <form>
element. Perhaps you meant novalidate
?
If the novalidate
attribute is present on a <form>
, indicates that the form is not to be validated during submission.
For example, while this form has a required
attribute on its input, it won’t be enforced because form validation has been disabled using novalidate
:
<form novalidate>
<label>City: <input required name="city"></label>
<input type="submit" />
</form>
Read more:
Related W3C validator issues
The action
attribute on a <form>
element is not a required attribute, but if specified, must be a valid, non-empty URL. For example:
<form action="register.php">
</form>
A <form>
element has already a form
role, so specifying role="form"
in it is redundant.
Instead of:
<form role="form">
You can simply write:
<form>
When was the last time you validated your whole site?
Keep your sites healthy checking for A11Y/HTML issues on an automated schedule.