New Zealand Government Web Standards

22.1 FIELDSET element grouping related form elements

New standards released

The New Zealand Web Standards 2.0 were released in March 2009 and replace the previous version, the New Zealand Government Web Standards 1.0 (below).  See Meeting the standards for more information.

The Standard

22.1 The FIELDSET element is used to group related form elements.

Guide to this standard

The LEGEND attribute of the FIELDSET element is used to caption a set of related form elements and the LABEL element is used to associate controls with their associated label text

Rationale for this standard

Enhances site accessibility by providing information about form elements which makes them better "known" to assistive technologies.