Minimal demo

Contact Form

A small form using the minimal preset and native required, email, and minlength checks.

Back to demo gallery

Developer notes

This page shows the smallest useful setup: native constraints plus the minimal preset.

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 preset

new A11yFormValidator(
  document.getElementById("contact-form"),
  createMinimalPreset()
);