MDN’s new design is in Beta! A sneak peek:


The following pages provide various techniques for improving the accessibility of web forms:


  • Basic form hints: Adding hints and descriptions for invalid or required fields
  • Alerts: Using alerts to provide client-side validation error messages
  • Multi-part labels: Enabling complex form labels with a control inside each label

See also the Yahoo! article on form validation and ARIA, covering much of the same content.


 此页面的贡献者: jack-chensonglin
 最后编辑者: jack-chensonglin,