Minimal markup
<form id="contact-form">
<input name="name" required />
<input name="email" type="email" required />
<textarea name="message" required minlength="10"></textarea>
</form>
Minimal demo
A small form using the minimal preset and native required, email, and minlength checks.
Back to demo galleryThis page shows the smallest useful setup: native constraints plus the minimal preset.
<form id="contact-form">
<input name="name" required />
<input name="email" type="email" required />
<textarea name="message" required minlength="10"></textarea>
</form>
new A11yFormValidator(
document.getElementById("contact-form"),
createMinimalPreset()
);